#5A43CB#5A43CB

#5A43CB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.200 H 284.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5A43CB
RGBrgb(90, 67, 203)
HSLhsl(250, 57%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(55.7%, 67%, 0%, 20.4%)
CIE-LABlab(38.72, 45.84, -67.42)
CIE-LCHlch(38.72, 81.53, 304.21°)
OKLaboklab(49.14% 0.0483 -0.1939)
OKLCHoklch(49.14% 0.2 284)
XYZxyz(16.9998, 10.4987, 57.6190)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43CB #B4CB43
analogous
#4370CB #5A43CB #9E43CB
triadic
#5A43CB #CB5A43 #43CB5A
tetradic
#5A43CB #CB4370 #B4CB43 #43CB9E
square
#5A43CB #CB4370 #B4CB43 #43CB9E
split-complementary
#5A43CB #CB9E43 #70CB43
monochromatic
#2E2074 #412DA4 #5A43CB #8473D8 #AEA3E6

Accessibility & contrast

On white

6.77
#5A43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5A43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43CB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43CB#FFFFFF#000000##FFFFFF
##5A43CB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#246681
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a43cb;
/* rgb */ color: rgb(90, 67, 203);
/* oklch */ color: oklch(49.1% 0.200 284.0);
Tailwind
colors: {
  custom: {
    50: '#9379dc',
    500: '#5a43cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a43cb;
$custom-light: #9379dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43cb",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 250.147,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.1998,
    "h": 284
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#5A43CB
secondary
#C8D298
accent
#E048C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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