#5B43CE#5B43CE

#5B43CE is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.5% C 0.203 H 284.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5B43CE
RGBrgb(91, 67, 206)
HSLhsl(250, 59%, 54%)
HSVhsv(250, 67%, 81%)
CMYKcmyk(55.8%, 67.5%, 0%, 19.2%)
CIE-LABlab(39.06, 46.90, -68.60)
CIE-LCHlch(39.06, 83.10, 304.36°)
OKLaboklab(49.48% 0.0493 -0.1973)
OKLCHoklch(49.48% 0.203 284)
XYZxyz(17.4587, 10.6936, 59.5247)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43CE #B6CE43
analogous
#4370CE #5B43CE #A043CE
triadic
#5B43CE #CE5B43 #43CE5B
tetradic
#5B43CE #CE4370 #B6CE43 #43CEA0
square
#5B43CE #CE4370 #B6CE43 #43CEA0
split-complementary
#5B43CE #CEA043 #70CE43
monochromatic
#2E1F77 #412CA8 #5B43CE #8574DB #B0A4E7

Accessibility & contrast

On white

6.69
#5B43CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5B43CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43CE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43CE#FFFFFF#000000##FFFFFF
##5B43CE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#236783
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b43ce;
/* rgb */ color: rgb(91, 67, 206);
/* oklch */ color: oklch(49.5% 0.203 284.0);
Tailwind
colors: {
  custom: {
    50: '#9479de',
    500: '#5b43ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b43ce;
$custom-light: #9479de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43ce",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 250.36,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.20337,
    "h": 284
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#5B43CE
secondary
#CAD499
accent
#E246C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B43CE

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

Preview Lab → · Contrast checker → · Palette generator →

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