#5F43CD#5F43CD

#5F43CD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.7% C 0.202 H 285.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5F43CD
RGBrgb(95, 67, 205)
HSLhsl(252, 58%, 53%)
HSVhsv(252, 67%, 80%)
CMYKcmyk(53.7%, 67.3%, 0%, 19.6%)
CIE-LABlab(39.33, 47.25, -67.56)
CIE-LCHlch(39.33, 82.45, 304.97°)
OKLaboklab(49.74% 0.0548 -0.1941)
OKLCHoklch(49.74% 0.202 285.8)
XYZxyz(17.7426, 10.8540, 58.9059)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43CD #B1CD43
analogous
#436CCD #5F43CD #A443CD
triadic
#5F43CD #CD5F43 #43CD5F
tetradic
#5F43CD #CD436C #B1CD43 #43CDA4
square
#5F43CD #CD436C #B1CD43 #43CDA4
split-complementary
#5F43CD #CDA443 #6CCD43
monochromatic
#311F76 #452CA7 #5F43CD #8873DA #B1A4E7

Accessibility & contrast

On white

6.62
#5F43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5F43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43CD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43CD#FFFFFF#000000##FFFFFF
##5F43CD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#316682
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f43cd;
/* rgb */ color: rgb(95, 67, 205);
/* oklch */ color: oklch(49.7% 0.202 285.8);
Tailwind
colors: {
  custom: {
    50: '#9679dd',
    500: '#5f43cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f43cd;
$custom-light: #9679dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43cd",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 252.174,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.20173,
    "h": 285.8
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#5F43CD
secondary
#C8D498
accent
#E147C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5F43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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