#5631C8#5631C8

#5631C8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.216 H 285.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5631C8
RGBrgb(86, 49, 200)
HSLhsl(255, 61%, 49%)
HSVhsv(255, 76%, 78%)
CMYKcmyk(57%, 75.5%, 0%, 21.6%)
CIE-LABlab(34.69, 53.84, -72.30)
CIE-LCHlch(34.69, 90.15, 306.68°)
OKLaboklab(46.1% 0.0576 -0.2082)
OKLCHoklch(46.1% 0.216 285.5)
XYZxyz(15.3582, 8.3443, 55.4337)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631C8 #A3C831
analogous
#3158C8 #5631C8 #A231C8
triadic
#5631C8 #C85631 #31C856
tetradic
#5631C8 #C83158 #A3C831 #31C8A2
square
#5631C8 #C83158 #A3C831 #31C8A2
split-complementary
#5631C8 #C8A231 #58C831
monochromatic
#2C1966 #412597 #5631C8 #7C5FD8 #A490E4

Accessibility & contrast

On white

7.87
#5631C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5631C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631C8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631C8#FFFFFF#000000##FFFFFF
##5631C81.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#1B5C7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5631c8;
/* rgb */ color: rgb(86, 49, 200);
/* oklch */ color: oklch(46.1% 0.216 285.5);
Tailwind
colors: {
  custom: {
    50: '#926eda',
    500: '#5631c8',
    950: '#000000',
  },
}
SCSS
$custom: #5631c8;
$custom-light: #926eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5631c8",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 254.702,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46102,
    "c": 0.21603,
    "h": 285.5
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#5631C8
secondary
#BDCE86
accent
#E444BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5631C8

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

Preview Lab → · Contrast checker → · Palette generator →

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