#5638C8#5638C8

#5638C8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.209 H 284.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5638C8
RGBrgb(86, 56, 200)
HSLhsl(253, 57%, 50%)
HSVhsv(253, 72%, 78%)
CMYKcmyk(57%, 72%, 0%, 21.6%)
CIE-LABlab(35.94, 50.32, -70.25)
CIE-LCHlch(35.94, 86.41, 305.61°)
OKLaboklab(46.98% 0.0524 -0.2023)
OKLCHoklch(46.98% 0.209 284.5)
XYZxyz(15.6741, 8.9760, 55.5390)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638C8 #AAC838
analogous
#3862C8 #5638C8 #9E38C8
triadic
#5638C8 #C85638 #38C856
tetradic
#5638C8 #C83862 #AAC838 #38C89E
square
#5638C8 #C83862 #AAC838 #38C89E
split-complementary
#5638C8 #C89E38 #62C838
monochromatic
#2D1D69 #412A99 #5638C8 #7F68D5 #A798E3

Accessibility & contrast

On white

7.51
#5638C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5638C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638C8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638C8#FFFFFF#000000##FFFFFF
##5638C81.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#1A5F7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5638c8;
/* rgb */ color: rgb(86, 56, 200);
/* oklch */ color: oklch(47.0% 0.209 284.5);
Tailwind
colors: {
  custom: {
    50: '#9272da',
    500: '#5638c8',
    950: '#000000',
  },
}
SCSS
$custom: #5638c8;
$custom-light: #9272da;
$custom-dark: #000000;
JSON
{
  "hex": "#5638c8",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 252.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.20895,
    "h": 284.5
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#5638C8
secondary
#C1CE8E
accent
#E048C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5638C8

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

Preview Lab → · Contrast checker → · Palette generator →

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