#5A43CC#5A43CC

#5A43CC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.2% C 0.201 H 283.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5A43CC
RGBrgb(90, 67, 204)
HSLhsl(250, 57%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(55.9%, 67.2%, 0%, 20%)
CIE-LABlab(38.81, 46.14, -67.86)
CIE-LCHlch(38.81, 82.06, 304.21°)
OKLaboklab(49.23% 0.0482 -0.1952)
OKLCHoklch(49.23% 0.201 283.9)
XYZxyz(17.1194, 10.5466, 58.2486)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43CC #B5CC43
analogous
#4370CC #5A43CC #9E43CC
triadic
#5A43CC #CC5A43 #43CC5A
tetradic
#5A43CC #CC4370 #B5CC43 #43CC9E
square
#5A43CC #CC4370 #B5CC43 #43CC9E
split-complementary
#5A43CC #CC9E43 #70CC43
monochromatic
#2E2075 #412DA5 #5A43CC #8473D9 #AFA3E6

Accessibility & contrast

On white

6.75
#5A43CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5A43CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43CC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43CC#FFFFFF#000000##FFFFFF
##5A43CC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#226682
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a43cc;
/* rgb */ color: rgb(90, 67, 204);
/* oklch */ color: oklch(49.2% 0.201 283.9);
Tailwind
colors: {
  custom: {
    50: '#9479dd',
    500: '#5a43cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a43cc;
$custom-light: #9479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43cc",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 250.073,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.20104,
    "h": 283.9
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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