#5633E2#5633E2

#5633E2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.243 H 281.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5633E2
RGBrgb(86, 51, 226)
HSLhsl(252, 75%, 54%)
HSVhsv(252, 77%, 89%)
CMYKcmyk(61.9%, 77.4%, 0%, 11.4%)
CIE-LABlab(37.55, 60.24, -82.60)
CIE-LCHlch(37.55, 102.23, 306.10°)
OKLaboklab(48.86% 0.0493 -0.2383)
OKLCHoklch(48.86% 0.243 281.7)
XYZxyz(18.7447, 9.8357, 72.8475)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633E2 #BFE233
analogous
#3368E2 #5633E2 #AE33E2
triadic
#5633E2 #E25633 #33E256
tetradic
#5633E2 #E23368 #BFE233 #33E2AE
square
#5633E2 #E23368 #BFE233 #33E2AE
split-complementary
#5633E2 #E2AE33 #68E233
monochromatic
#2A1387 #3B1BBD #5633E2 #8269EA #AF9EF1

Accessibility & contrast

On white

7.08
#5633E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5633E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633E2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633E2#FFFFFF#000000##FFFFFF
##5633E21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#0052DF
Tritanopia (blue-blind)
#00678A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5633e2;
/* rgb */ color: rgb(86, 51, 226);
/* oklch */ color: oklch(48.9% 0.243 281.7);
Tailwind
colors: {
  custom: {
    50: '#9670ed',
    500: '#5633e2',
    950: '#000000',
  },
}
SCSS
$custom: #5633e2;
$custom-light: #9670ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5633e2",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 252,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.24337,
    "h": 281.7
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#5633E2
secondary
#CFDE93
accent
#F236CC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5633E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5633E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva