#5A43C8#5A43C8

#5A43C8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.196 H 284.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5A43C8
RGBrgb(90, 67, 200)
HSLhsl(250, 55%, 52%)
HSVhsv(250, 67%, 78%)
CMYKcmyk(55%, 66.5%, 0%, 21.6%)
CIE-LABlab(38.48, 44.93, -66.08)
CIE-LCHlch(38.48, 79.91, 304.21°)
OKLaboklab(48.89% 0.0487 -0.1899)
OKLCHoklch(48.89% 0.196 284.4)
XYZxyz(16.6458, 10.3571, 55.7544)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43C8 #B1C843
analogous
#436EC8 #5A43C8 #9D43C8
triadic
#5A43C8 #C85A43 #43C85A
tetradic
#5A43C8 #C8436E #B1C843 #43C89D
square
#5A43C8 #C8436E #B1C843 #43C89D
split-complementary
#5A43C8 #C89D43 #6EC843
monochromatic
#2E2170 #422F9F #5A43C8 #8472D6 #ADA2E4

Accessibility & contrast

On white

6.84
#5A43C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5A43C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43C8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43C8#FFFFFF#000000##FFFFFF
##5A43C81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#286580
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a43c8;
/* rgb */ color: rgb(90, 67, 200);
/* oklch */ color: oklch(48.9% 0.196 284.4);
Tailwind
colors: {
  custom: {
    50: '#9379da',
    500: '#5a43c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a43c8;
$custom-light: #9379da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43c8",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 250.376,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.1961,
    "h": 284.4
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#5A43C8
secondary
#C6D096
accent
#DE4AC4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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