#5A43CD#5A43CD

#5A43CD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.3% C 0.202 H 283.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5A43CD
RGBrgb(90, 67, 205)
HSLhsl(250, 58%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(56.1%, 67.3%, 0%, 19.6%)
CIE-LABlab(38.89, 46.44, -68.31)
CIE-LCHlch(38.89, 82.60, 304.21°)
OKLaboklab(49.31% 0.0481 -0.1965)
OKLCHoklch(49.31% 0.202 283.7)
XYZxyz(17.2397, 10.5947, 58.8823)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43CD #B6CD43
analogous
#4371CD #5A43CD #9F43CD
triadic
#5A43CD #CD5A43 #43CD5A
tetradic
#5A43CD #CD4371 #B6CD43 #43CD9F
square
#5A43CD #CD4371 #B6CD43 #43CD9F
split-complementary
#5A43CD #CD9F43 #71CD43
monochromatic
#2E1F76 #412CA7 #5A43CD #8473DA #AFA4E7

Accessibility & contrast

On white

6.73
#5A43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5A43CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43CD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43CD#FFFFFF#000000##FFFFFF
##5A43CD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#216782
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a43cd;
/* rgb */ color: rgb(90, 67, 205);
/* oklch */ color: oklch(49.3% 0.202 283.7);
Tailwind
colors: {
  custom: {
    50: '#9479dd',
    500: '#5a43cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a43cd;
$custom-light: #9479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43cd",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 250,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.20227,
    "h": 283.7
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#5A43CD
secondary
#CAD498
accent
#E147C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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