#5A43EA#5A43EA

#5A43EA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.9% C 0.237 H 280.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5A43EA
RGBrgb(90, 67, 234)
HSLhsl(248, 80%, 59%)
HSVhsv(248, 71%, 92%)
CMYKcmyk(61.5%, 71.4%, 0%, 8.2%)
CIE-LABlab(41.42, 55.12, -80.76)
CIE-LCHlch(41.42, 97.78, 304.31°)
OKLaboklab(51.89% 0.0431 -0.233)
OKLCHoklch(51.89% 0.237 280.5)
XYZxyz(21.0702, 12.1269, 79.0563)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43EA #D3EA43
analogous
#4380EA #5A43EA #AD43EA
triadic
#5A43EA #EA5A43 #43EA5A
tetradic
#5A43EA #EA4380 #D3EA43 #43EAAD
square
#5A43EA #EA4380 #D3EA43 #43EAAD
split-complementary
#5A43EA #EAAD43 #80EA43
monochromatic
#2612A1 #3218D8 #5A43EA #8A7AF0 #BBB1F6

Accessibility & contrast

On white

6.13
#5A43EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5A43EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43EA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43EA#FFFFFF#000000##FFFFFF
##5A43EA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a43ea;
/* rgb */ color: rgb(90, 67, 234);
/* oklch */ color: oklch(51.9% 0.237 280.5);
Tailwind
colors: {
  custom: {
    50: '#997af2',
    500: '#5a43ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a43ea;
$custom-light: #997af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43ea",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 234
  },
  "hsl": {
    "h": 248.263,
    "s": 79.904,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.23691,
    "h": 280.5
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#5A43EA
secondary
#DCE5A4
accent
#F631DB
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5A43EA

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

Preview Lab → · Contrast checker → · Palette generator →

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