#5F43CE#5F43CE

#5F43CE is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.8% C 0.203 H 285.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5F43CE
RGBrgb(95, 67, 206)
HSLhsl(252, 59%, 54%)
HSVhsv(252, 67%, 81%)
CMYKcmyk(53.9%, 67.5%, 0%, 19.2%)
CIE-LABlab(39.42, 47.54, -68.01)
CIE-LCHlch(39.42, 82.98, 304.96°)
OKLaboklab(49.82% 0.0547 -0.1954)
OKLCHoklch(49.82% 0.203 285.6)
XYZxyz(17.8637, 10.9025, 59.5436)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43CE #B2CE43
analogous
#436CCE #5F43CE #A443CE
triadic
#5F43CE #CE5F43 #43CE5F
tetradic
#5F43CE #CE436C #B2CE43 #43CEA4
square
#5F43CE #CE436C #B2CE43 #43CEA4
split-complementary
#5F43CE #CEA443 #6CCE43
monochromatic
#311F77 #452CA8 #5F43CE #8874DB #B2A4E7

Accessibility & contrast

On white

6.60
#5F43CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5F43CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43CE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43CE#FFFFFF#000000##FFFFFF
##5F43CE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#306783
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f43ce;
/* rgb */ color: rgb(95, 67, 206);
/* oklch */ color: oklch(49.8% 0.203 285.6);
Tailwind
colors: {
  custom: {
    50: '#9779de',
    500: '#5f43ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f43ce;
$custom-light: #9779de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43ce",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 252.086,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.20295,
    "h": 285.6
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#5F43CE
secondary
#C8D499
accent
#E246C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5F43CE

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

Preview Lab → · Contrast checker → · Palette generator →

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