#5633C6#5633C6

#5633C6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.212 H 285.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5633C6
RGBrgb(86, 51, 198)
HSLhsl(254, 59%, 49%)
HSVhsv(254, 74%, 78%)
CMYKcmyk(56.6%, 74.2%, 0%, 22.4%)
CIE-LABlab(34.85, 52.30, -70.88)
CIE-LCHlch(34.85, 88.08, 306.42°)
OKLaboklab(46.16% 0.0567 -0.2041)
OKLCHoklch(46.16% 0.212 285.5)
XYZxyz(15.2115, 8.4224, 54.2393)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5633C6 #A3C633
analogous
#335AC6 #5633C6 #A033C6
triadic
#5633C6 #C65633 #33C656
tetradic
#5633C6 #C6335A #A3C633 #33C6A0
square
#5633C6 #C6335A #A3C633 #33C6A0
split-complementary
#5633C6 #C6A033 #5AC633
monochromatic
#2C1A65 #412695 #5633C6 #7C60D6 #A491E3

Accessibility & contrast

On white

7.82
#5633C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5633C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5633C6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5633C6#FFFFFF#000000##FFFFFF
##5633C61.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#1E5C7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5633c6;
/* rgb */ color: rgb(86, 51, 198);
/* oklch */ color: oklch(46.2% 0.212 285.5);
Tailwind
colors: {
  custom: {
    50: '#926fd9',
    500: '#5633c6',
    950: '#000000',
  },
}
SCSS
$custom: #5633c6;
$custom-light: #926fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5633c6",
  "rgb": {
    "r": 86,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 254.286,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46156,
    "c": 0.21178,
    "h": 285.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#5633C6
secondary
#BDCD87
accent
#E246BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5633C6

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

Preview Lab → · Contrast checker → · Palette generator →

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