#5F43CF#5F43CF

#5F43CF is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 49.9% C 0.204 H 285.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5F43CF
RGBrgb(95, 67, 207)
HSLhsl(252, 59%, 54%)
HSVhsv(252, 68%, 81%)
CMYKcmyk(54.1%, 67.6%, 0%, 18.8%)
CIE-LABlab(39.50, 47.84, -68.45)
CIE-LCHlch(39.50, 83.51, 304.95°)
OKLaboklab(49.91% 0.0545 -0.1967)
OKLCHoklch(49.91% 0.204 285.5)
XYZxyz(17.9856, 10.9512, 60.1855)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43CF #B3CF43
analogous
#436DCF #5F43CF #A543CF
triadic
#5F43CF #CF5F43 #43CF5F
tetradic
#5F43CF #CF436D #B3CF43 #43CFA5
square
#5F43CF #CF436D #B3CF43 #43CFA5
split-complementary
#5F43CF #CFA543 #6DCF43
monochromatic
#311F79 #452BAA #5F43CF #8874DB #B2A5E8

Accessibility & contrast

On white

6.58
#5F43CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5F43CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43CF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43CF#FFFFFF#000000##FFFFFF
##5F43CF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#2E6784
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f43cf;
/* rgb */ color: rgb(95, 67, 207);
/* oklch */ color: oklch(49.9% 0.204 285.5);
Tailwind
colors: {
  custom: {
    50: '#9779df',
    500: '#5f43cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f43cf;
$custom-light: #9779df;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43cf",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 252,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.20416,
    "h": 285.5
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#5F43CF
secondary
#C9D599
accent
#E345C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5F43CF

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

Preview Lab → · Contrast checker → · Palette generator →

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