#5630C6#5630C6

#5630C6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.215 H 285.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5630C6
RGBrgb(86, 48, 198)
HSLhsl(255, 61%, 48%)
HSVhsv(255, 76%, 78%)
CMYKcmyk(56.6%, 75.8%, 0%, 22.4%)
CIE-LABlab(34.33, 53.76, -71.72)
CIE-LCHlch(34.33, 89.64, 306.85°)
OKLaboklab(45.79% 0.0588 -0.2065)
OKLCHoklch(45.79% 0.215 285.9)
XYZxyz(15.0847, 8.1687, 54.1970)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630C6 #A0C630
analogous
#3055C6 #5630C6 #A130C6
triadic
#5630C6 #C65630 #30C656
tetradic
#5630C6 #C63055 #A0C630 #30C6A1
square
#5630C6 #C63055 #A0C630 #30C6A1
split-complementary
#5630C6 #C6A130 #55C630
monochromatic
#2B1863 #412495 #5630C6 #7B5CD7 #A38DE3

Accessibility & contrast

On white

7.97
#5630C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5630C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630C6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630C6#FFFFFF#000000##FFFFFF
##5630C61.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#1F5B79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5630c6;
/* rgb */ color: rgb(86, 48, 198);
/* oklch */ color: oklch(45.8% 0.215 285.9);
Tailwind
colors: {
  custom: {
    50: '#926dd9',
    500: '#5630c6',
    950: '#000000',
  },
}
SCSS
$custom: #5630c6;
$custom-light: #926dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5630c6",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 255.2,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45793,
    "c": 0.21473,
    "h": 285.9
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#5630C6
secondary
#BBCE84
accent
#E444BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5630C6

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

Preview Lab → · Contrast checker → · Palette generator →

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