#7F5FEE#7F5FEE

#7F5FEE is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.205 H 288.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7F5FEE
RGBrgb(127, 95, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 60%, 93%)
CMYKcmyk(46.6%, 60.1%, 0%, 6.7%)
CIE-LABlab(50.53, 46.99, -68.01)
CIE-LCHlch(50.53, 82.66, 304.64°)
OKLaboklab(59.34% 0.0664 -0.1944)
OKLCHoklch(59.34% 0.205 288.9)
XYZxyz(28.2728, 18.8684, 83.0246)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5FEE #CEEE5F
analogous
#5F86EE #7F5FEE #C75FEE
triadic
#7F5FEE #EE7F5F #5FEE7F
tetradic
#7F5FEE #EE5F86 #CEEE5F #5FEEC7
square
#7F5FEE #EE5F86 #CEEE5F #5FEEC7
split-complementary
#7F5FEE #EEC75F #86EE5F
monochromatic
#3A14BE #5328E8 #7F5FEE #AB96F4 #D8CEFA

Accessibility & contrast

On white

4.40
#7F5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7F5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5FEE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5FEE#FFFFFF#000000##000000
##7F5FEE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#5B809E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f5fee;
/* rgb */ color: rgb(127, 95, 238);
/* oklch */ color: oklch(59.3% 0.205 288.9);
Tailwind
colors: {
  custom: {
    50: '#ac8ef4',
    500: '#7f5fee',
    950: '#000000',
  },
}
SCSS
$custom: #7f5fee;
$custom-light: #ac8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5fee",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 253.427,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.20545,
    "h": 288.9
  },
  "luminance": 0.18869
}

Semantic roles & 50–950 ramp

primary
#7F5FEE
secondary
#E2ECBC
accent
#DD08AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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