#7F5BF4#7F5BF4

#7F5BF4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.218 H 288.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7F5BF4
RGBrgb(127, 91, 244)
HSLhsl(254, 87%, 66%)
HSVhsv(254, 63%, 96%)
CMYKcmyk(48%, 62.7%, 0%, 4.3%)
CIE-LABlab(50.13, 50.87, -72.02)
CIE-LCHlch(50.13, 88.18, 305.24°)
OKLaboklab(59.18% 0.0701 -0.2062)
OKLCHoklch(59.18% 0.218 288.8)
XYZxyz(28.8179, 18.5246, 87.6276)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5BF4 #D0F45B
analogous
#5B83F4 #7F5BF4 #CC5BF4
triadic
#7F5BF4 #F47F5B #5BF47F
tetradic
#7F5BF4 #F45B83 #D0F45B #5BF4CC
square
#7F5BF4 #F45B83 #D0F45B #5BF4CC
split-complementary
#7F5BF4 #F4CC5B #83F45B
monochromatic
#390DC7 #5222F0 #7F5BF4 #AC94F8 #D9CEFC

Accessibility & contrast

On white

4.46
#7F5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7F5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5BF4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5BF4#FFFFFF#000000##000000
##7F5BF41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#58809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f5bf4;
/* rgb */ color: rgb(127, 91, 244);
/* oklch */ color: oklch(59.2% 0.218 288.8);
Tailwind
colors: {
  custom: {
    50: '#ad8bf9',
    500: '#7f5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7f5bf4;
$custom-light: #ad8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5bf4",
  "rgb": {
    "r": 127,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 254.118,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.21782,
    "h": 288.8
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#7F5BF4
secondary
#E3EFBC
accent
#E402AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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