#5438C8#5438C8

#5438C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.8% C 0.209 H 283.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5438C8
RGBrgb(84, 56, 200)
HSLhsl(252, 57%, 50%)
HSVhsv(252, 72%, 78%)
CMYKcmyk(58%, 72%, 0%, 21.6%)
CIE-LABlab(35.76, 50.04, -70.56)
CIE-LCHlch(35.76, 86.50, 305.34°)
OKLaboklab(46.81% 0.0496 -0.2032)
OKLCHoklch(46.81% 0.209 283.7)
XYZxyz(15.4925, 8.8823, 55.5305)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438C8 #ACC838
analogous
#3864C8 #5438C8 #9C38C8
triadic
#5438C8 #C85438 #38C854
tetradic
#5438C8 #C83864 #ACC838 #38C89C
square
#5438C8 #C83864 #ACC838 #38C89C
split-complementary
#5438C8 #C89C38 #64C838
monochromatic
#2C1D69 #402A99 #5438C8 #7D68D5 #A698E3

Accessibility & contrast

On white

7.56
#5438C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5438C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438C8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438C8#FFFFFF#000000##FFFFFF
##5438C81.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#105F7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5438c8;
/* rgb */ color: rgb(84, 56, 200);
/* oklch */ color: oklch(46.8% 0.209 283.7);
Tailwind
colors: {
  custom: {
    50: '#9171da',
    500: '#5438c8',
    950: '#000000',
  },
}
SCSS
$custom: #5438c8;
$custom-light: #9171da;
$custom-dark: #000000;
JSON
{
  "hex": "#5438c8",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 251.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46809,
    "c": 0.20919,
    "h": 283.7
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#5438C8
secondary
#C2CE8E
accent
#E048C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5438C8

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

Preview Lab → · Contrast checker → · Palette generator →

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