#7F5DF9#7F5DF9

#7F5DF9 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.221 H 287.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7F5DF9
RGBrgb(127, 93, 249)
HSLhsl(253, 93%, 67%)
HSVhsv(253, 63%, 98%)
CMYKcmyk(49%, 62.7%, 0%, 2.4%)
CIE-LABlab(50.90, 51.18, -73.56)
CIE-LCHlch(50.90, 89.61, 304.83°)
OKLaboklab(59.85% 0.0677 -0.2108)
OKLCHoklch(59.85% 0.221 287.8)
XYZxyz(29.7606, 19.1789, 91.7379)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5DF9 #D7F95D
analogous
#5D89F9 #7F5DF9 #CD5DF9
triadic
#7F5DF9 #F97F5D #5DF97F
tetradic
#7F5DF9 #F95D89 #D7F95D #5DF9CD
square
#7F5DF9 #F95D89 #D7F95D #5DF9CD
split-complementary
#7F5DF9 #F9CD5D #89F95D
monochromatic
#3408D4 #5022F7 #7F5DF9 #AE98FB #DCD3FD

Accessibility & contrast

On white

4.34
#7F5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7F5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5DF9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5DF9#FFFFFF#000000##000000
##7F5DF91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#5482A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f5df9;
/* rgb */ color: rgb(127, 93, 249);
/* oklch */ color: oklch(59.8% 0.221 287.8);
Tailwind
colors: {
  custom: {
    50: '#ad8dfc',
    500: '#7f5df9',
    950: '#000000',
  },
}
SCSS
$custom: #7f5df9;
$custom-light: #ad8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5df9",
  "rgb": {
    "r": 127,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 253.077,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.22136,
    "h": 287.8
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#7F5DF9
secondary
#E7F2C0
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F5DF9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7F5DF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva