#5A43CF#5A43CF

#5A43CF is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.205 H 283.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5A43CF
RGBrgb(90, 67, 207)
HSLhsl(250, 59%, 54%)
HSVhsv(250, 68%, 81%)
CMYKcmyk(56.5%, 67.6%, 0%, 18.8%)
CIE-LABlab(39.06, 47.04, -69.19)
CIE-LCHlch(39.06, 83.67, 304.21°)
OKLaboklab(49.48% 0.0478 -0.1991)
OKLCHoklch(49.48% 0.205 283.5)
XYZxyz(17.4826, 10.6919, 60.1619)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43CF #B8CF43
analogous
#4372CF #5A43CF #A043CF
triadic
#5A43CF #CF5A43 #43CF5A
tetradic
#5A43CF #CF4372 #B8CF43 #43CFA0
square
#5A43CF #CF4372 #B8CF43 #43CFA0
split-complementary
#5A43CF #CFA043 #72CF43
monochromatic
#2E1F79 #402BAA #5A43CF #8574DB #B0A5E8

Accessibility & contrast

On white

6.69
#5A43CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5A43CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43CF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43CF#FFFFFF#000000##FFFFFF
##5A43CF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#1D6784
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a43cf;
/* rgb */ color: rgb(90, 67, 207);
/* oklch */ color: oklch(49.5% 0.205 283.5);
Tailwind
colors: {
  custom: {
    50: '#9479df',
    500: '#5a43cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a43cf;
$custom-light: #9479df;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43cf",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 249.857,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.20472,
    "h": 283.5
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#5A43CF
secondary
#CBD599
accent
#E345C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A43CF

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

Preview Lab → · Contrast checker → · Palette generator →

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