#5F3FD0#5F3FD0

#5F3FD0 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.210 H 286.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5F3FD0
RGBrgb(95, 63, 208)
HSLhsl(253, 61%, 53%)
HSVhsv(253, 70%, 82%)
CMYKcmyk(54.3%, 69.7%, 0%, 18.4%)
CIE-LABlab(38.80, 50.29, -70.18)
CIE-LCHlch(38.80, 86.34, 305.63°)
OKLaboklab(49.43% 0.0578 -0.2018)
OKLCHoklch(49.43% 0.21 286)
XYZxyz(17.8786, 10.5410, 60.7548)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3FD0 #B0D03F
analogous
#3F68D0 #5F3FD0 #A73FD0
triadic
#5F3FD0 #D05F3F #3FD05F
tetradic
#5F3FD0 #D03F68 #B0D03F #3FD0A7
square
#5F3FD0 #D03F68 #B0D03F #3FD0A7
split-complementary
#5F3FD0 #D0A73F #68D03F
monochromatic
#311D77 #4529A9 #5F3FD0 #8870DC #B1A1E8

Accessibility & contrast

On white

6.76
#5F3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5F3FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F3FD0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3FD0#FFFFFF#000000##FFFFFF
##5F3FD01.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0057CD
Tritanopia (blue-blind)
#2E6583
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f3fd0;
/* rgb */ color: rgb(95, 63, 208);
/* oklch */ color: oklch(49.4% 0.210 286.0);
Tailwind
colors: {
  custom: {
    50: '#9777df',
    500: '#5f3fd0',
    950: '#000000',
  },
}
SCSS
$custom: #5f3fd0;
$custom-light: #9777df;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3fd0",
  "rgb": {
    "r": 95,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 253.241,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.20992,
    "h": 286
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#5F3FD0
secondary
#C7D596
accent
#E444C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5F3FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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