#5431C8#5431C8

#5431C8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.216 H 284.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5431C8
RGBrgb(84, 49, 200)
HSLhsl(254, 61%, 49%)
HSVhsv(254, 76%, 78%)
CMYKcmyk(58%, 75.5%, 0%, 21.6%)
CIE-LABlab(34.50, 53.59, -72.62)
CIE-LCHlch(34.50, 90.25, 306.42°)
OKLaboklab(45.92% 0.0547 -0.2092)
OKLCHoklch(45.92% 0.216 284.6)
XYZxyz(15.1766, 8.2506, 55.4252)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5431C8 #A5C831
analogous
#315AC8 #5431C8 #A031C8
triadic
#5431C8 #C85431 #31C854
tetradic
#5431C8 #C8315A #A5C831 #31C8A0
square
#5431C8 #C8315A #A5C831 #31C8A0
split-complementary
#5431C8 #C8A031 #5AC831
monochromatic
#2B1966 #3F2597 #5431C8 #7B5FD8 #A390E4

Accessibility & contrast

On white

7.92
#5431C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5431C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5431C8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5431C8#FFFFFF#000000##FFFFFF
##5431C81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#115C7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5431c8;
/* rgb */ color: rgb(84, 49, 200);
/* oklch */ color: oklch(45.9% 0.216 284.6);
Tailwind
colors: {
  custom: {
    50: '#916dda',
    500: '#5431c8',
    950: '#000000',
  },
}
SCSS
$custom: #5431c8;
$custom-light: #916dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5431c8",
  "rgb": {
    "r": 84,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 253.907,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.21624,
    "h": 284.6
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#5431C8
secondary
#BECE86
accent
#E444BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5431C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5431C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva