#5F3FCE#5F3FCE

#5F3FCE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.208 H 286.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5F3FCE
RGBrgb(95, 63, 206)
HSLhsl(253, 59%, 53%)
HSVhsv(253, 69%, 81%)
CMYKcmyk(53.9%, 69.4%, 0%, 19.2%)
CIE-LABlab(38.63, 49.71, -69.30)
CIE-LCHlch(38.63, 85.29, 305.66°)
OKLaboklab(49.26% 0.0582 -0.1992)
OKLCHoklch(49.26% 0.208 286.3)
XYZxyz(17.6341, 10.4432, 59.4671)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3FCE #AECE3F
analogous
#3F66CE #5F3FCE #A73FCE
triadic
#5F3FCE #CE5F3F #3FCE5F
tetradic
#5F3FCE #CE3F66 #AECE3F #3FCEA7
square
#5F3FCE #CE3F66 #AECE3F #3FCEA7
split-complementary
#5F3FCE #CEA73F #66CE3F
monochromatic
#311E75 #462AA6 #5F3FCE #8870DA #B0A1E7

Accessibility & contrast

On white

6.80
#5F3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5F3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F3FCE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3FCE#FFFFFF#000000##FFFFFF
##5F3FCE1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#306482
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f3fce;
/* rgb */ color: rgb(95, 63, 206);
/* oklch */ color: oklch(49.3% 0.208 286.3);
Tailwind
colors: {
  custom: {
    50: '#9777de',
    500: '#5f3fce',
    950: '#000000',
  },
}
SCSS
$custom: #5f3fce;
$custom-light: #9777de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3fce",
  "rgb": {
    "r": 95,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 253.427,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.20754,
    "h": 286.3
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#5F3FCE
secondary
#C6D395
accent
#E345BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5F3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

#5F3FCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva