#5630C9#5630C9

#5630C9 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.218 H 285.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5630C9
RGBrgb(86, 48, 201)
HSLhsl(255, 61%, 49%)
HSVhsv(255, 76%, 79%)
CMYKcmyk(57.2%, 76.1%, 0%, 21.2%)
CIE-LABlab(34.62, 54.61, -73.01)
CIE-LCHlch(34.62, 91.17, 306.80°)
OKLaboklab(46.08% 0.058 -0.2103)
OKLCHoklch(46.08% 0.218 285.4)
XYZxyz(15.4341, 8.3085, 56.0374)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630C9 #A3C930
analogous
#3057C9 #5630C9 #A330C9
triadic
#5630C9 #C95630 #30C956
tetradic
#5630C9 #C93057 #A3C930 #30C9A3
square
#5630C9 #C93057 #A3C930 #30C9A3
split-complementary
#5630C9 #C9A330 #57C930
monochromatic
#2C1866 #412498 #5630C9 #7C5ED8 #A48FE4

Accessibility & contrast

On white

7.89
#5630C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5630C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630C9
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630C9#FFFFFF#000000##FFFFFF
##5630C91.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#1A5C7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5630c9;
/* rgb */ color: rgb(86, 48, 201);
/* oklch */ color: oklch(46.1% 0.218 285.4);
Tailwind
colors: {
  custom: {
    50: '#926ddb',
    500: '#5630c9',
    950: '#000000',
  },
}
SCSS
$custom: #5630c9;
$custom-light: #926ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5630c9",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 254.902,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.21813,
    "h": 285.4
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#5630C9
secondary
#BDCF86
accent
#E543BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5630C9

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

Preview Lab → · Contrast checker → · Palette generator →

#5630C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva