#5632C2#5632C2

#5632C2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.208 H 286.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5632C2
RGBrgb(86, 50, 194)
HSLhsl(255, 59%, 48%)
HSVhsv(255, 74%, 76%)
CMYKcmyk(55.7%, 74.2%, 0%, 23.9%)
CIE-LABlab(34.30, 51.65, -69.43)
CIE-LCHlch(34.30, 86.54, 306.65°)
OKLaboklab(45.66% 0.0584 -0.1998)
OKLCHoklch(45.66% 0.208 286.3)
XYZxyz(14.7130, 8.1539, 51.8271)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5632C2 #9EC232
analogous
#3256C2 #5632C2 #9E32C2
triadic
#5632C2 #C25632 #32C256
tetradic
#5632C2 #C23256 #9EC232 #32C29E
square
#5632C2 #C23256 #9EC232 #32C29E
split-complementary
#5632C2 #C29E32 #56C232
monochromatic
#2B1961 #402591 #5632C2 #7A5CD5 #A28DE2

Accessibility & contrast

On white

7.98
#5632C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5632C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5632C2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5632C2#FFFFFF#000000##FFFFFF
##5632C21.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#245A78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5632c2;
/* rgb */ color: rgb(86, 50, 194);
/* oklch */ color: oklch(45.7% 0.208 286.3);
Tailwind
colors: {
  custom: {
    50: '#916ed6',
    500: '#5632c2',
    950: '#000000',
  },
}
SCSS
$custom: #5632c2;
$custom-light: #916ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5632c2",
  "rgb": {
    "r": 86,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 255,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.20818,
    "h": 286.3
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#5632C2
secondary
#BACC84
accent
#E246BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5632C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5632C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva