#5A43CA#5A43CA

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

Color values

HEX#5A43CA
RGBrgb(90, 67, 202)
HSLhsl(250, 56%, 53%)
HSVhsv(250, 67%, 79%)
CMYKcmyk(55.4%, 66.8%, 0%, 20.8%)
CIE-LABlab(38.64, 45.54, -66.98)
CIE-LCHlch(38.64, 80.99, 304.21°)
OKLaboklab(49.06% 0.0485 -0.1926)
OKLCHoklch(49.06% 0.199 284.1)
XYZxyz(16.8810, 10.4512, 56.9934)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43CA #B3CA43
analogous
#4370CA #5A43CA #9D43CA
triadic
#5A43CA #CA5A43 #43CA5A
tetradic
#5A43CA #CA4370 #B3CA43 #43CA9D
square
#5A43CA #CA4370 #B3CA43 #43CA9D
split-complementary
#5A43CA #CA9D43 #70CA43
monochromatic
#2E2072 #422EA2 #5A43CA #8473D7 #AEA2E5

Accessibility & contrast

On white

6.80
#5A43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5A43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43CA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43CA#FFFFFF#000000##FFFFFF
##5A43CA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#256581
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a43ca;
/* rgb */ color: rgb(90, 67, 202);
/* oklch */ color: oklch(49.1% 0.199 284.1);
Tailwind
colors: {
  custom: {
    50: '#9379db',
    500: '#5a43ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a43ca;
$custom-light: #9379db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43ca",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 250.222,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49055,
    "c": 0.19858,
    "h": 284.1
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#5A43CA
secondary
#C8D297
accent
#DF48C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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