#7F5FF1#7F5FF1

#7F5FF1 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.209 H 288.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7F5FF1
RGBrgb(127, 95, 241)
HSLhsl(253, 84%, 66%)
HSVhsv(253, 61%, 95%)
CMYKcmyk(47.3%, 60.6%, 0%, 5.5%)
CIE-LABlab(50.74, 47.83, -69.35)
CIE-LCHlch(50.74, 84.24, 304.60°)
OKLaboklab(59.56% 0.0663 -0.1984)
OKLCHoklch(59.56% 0.209 288.5)
XYZxyz(28.7172, 19.0461, 85.3652)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5FF1 #D1F15F
analogous
#5F88F1 #7F5FF1 #C85FF1
triadic
#7F5FF1 #F17F5F #5FF17F
tetradic
#7F5FF1 #F15F88 #D1F15F #5FF1C8
square
#7F5FF1 #F15F88 #D1F15F #5FF1C8
split-complementary
#7F5FF1 #F1C85F #88F15F
monochromatic
#3811C4 #5227EC #7F5FF1 #AC97F6 #D9D0FB

Accessibility & contrast

On white

4.37
#7F5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7F5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5FF1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5FF1#FFFFFF#000000##000000
##7F5FF11.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#59819F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f5ff1;
/* rgb */ color: rgb(127, 95, 241);
/* oklch */ color: oklch(59.6% 0.209 288.5);
Tailwind
colors: {
  custom: {
    50: '#ac8ef7',
    500: '#7f5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #7f5ff1;
$custom-light: #ac8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5ff1",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 253.151,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59556,
    "c": 0.20914,
    "h": 288.5
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#7F5FF1
secondary
#E3EEBE
accent
#E005B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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