#5F43DC#5F43DC

#5F43DC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.220 H 283.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F43DC
RGBrgb(95, 67, 220)
HSLhsl(251, 69%, 56%)
HSVhsv(251, 70%, 86%)
CMYKcmyk(56.8%, 69.5%, 0%, 13.7%)
CIE-LABlab(40.59, 51.66, -74.13)
CIE-LCHlch(40.59, 90.36, 304.87°)
OKLaboklab(51.03% 0.0524 -0.2134)
OKLCHoklch(51.03% 0.22 283.8)
XYZxyz(19.6408, 11.6133, 68.9029)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43DC #C0DC43
analogous
#4374DC #5F43DC #AB43DC
triadic
#5F43DC #DC5F43 #43DC5F
tetradic
#5F43DC #DC4374 #C0DC43 #43DCAB
square
#5F43DC #DC4374 #C0DC43 #43DCAB
split-complementary
#5F43DC #DCAB43 #74DC43
monochromatic
#2F1A8B #4023BE #5F43DC #8B77E6 #B7AAEF

Accessibility & contrast

On white

6.32
#5F43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5F43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43DC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43DC#FFFFFF#000000##FFFFFF
##5F43DC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#1C6C8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f43dc;
/* rgb */ color: rgb(95, 67, 220);
/* oklch */ color: oklch(51.0% 0.220 283.8);
Tailwind
colors: {
  custom: {
    50: '#997ae8',
    500: '#5f43dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f43dc;
$custom-light: #997ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43dc",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 250.98,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.21973,
    "h": 283.8
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#5F43DC
secondary
#D1DD9E
accent
#EB3CCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5F43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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