#5630C7#5630C7

#5630C7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.216 H 285.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5630C7
RGBrgb(86, 48, 199)
HSLhsl(255, 61%, 48%)
HSVhsv(255, 76%, 78%)
CMYKcmyk(56.8%, 75.9%, 0%, 22%)
CIE-LABlab(34.43, 54.04, -72.15)
CIE-LCHlch(34.43, 90.15, 306.83°)
OKLaboklab(45.89% 0.0585 -0.2078)
OKLCHoklch(45.89% 0.216 285.7)
XYZxyz(15.2004, 8.2150, 54.8064)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630C7 #A1C730
analogous
#3055C7 #5630C7 #A130C7
triadic
#5630C7 #C75630 #30C756
tetradic
#5630C7 #C73055 #A1C730 #30C7A1
square
#5630C7 #C73055 #A1C730 #30C7A1
split-complementary
#5630C7 #C7A130 #55C730
monochromatic
#2B1864 #412496 #5630C7 #7B5CD8 #A38EE4

Accessibility & contrast

On white

7.94
#5630C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5630C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630C7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630C7#FFFFFF#000000##FFFFFF
##5630C71.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#1D5B7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5630c7;
/* rgb */ color: rgb(86, 48, 199);
/* oklch */ color: oklch(45.9% 0.216 285.7);
Tailwind
colors: {
  custom: {
    50: '#926dd9',
    500: '#5630c7',
    950: '#000000',
  },
}
SCSS
$custom: #5630c7;
$custom-light: #926dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5630c7",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 255.099,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.21586,
    "h": 285.7
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#5630C7
secondary
#BCCE85
accent
#E444BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5630C7

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

Preview Lab → · Contrast checker → · Palette generator →

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