#5830C8#5830C8

#5830C8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.217 H 286.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5830C8
RGBrgb(88, 48, 200)
HSLhsl(256, 61%, 49%)
HSVhsv(256, 76%, 78%)
CMYKcmyk(56%, 76%, 0%, 21.6%)
CIE-LABlab(34.72, 54.58, -72.25)
CIE-LCHlch(34.72, 90.55, 307.07°)
OKLaboklab(46.17% 0.0612 -0.208)
OKLCHoklch(46.17% 0.217 286.4)
XYZxyz(15.5037, 8.3579, 55.4287)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830C8 #A0C830
analogous
#3054C8 #5830C8 #A430C8
triadic
#5830C8 #C85830 #30C858
tetradic
#5830C8 #C83054 #A0C830 #30C8A4
square
#5830C8 #C83054 #A0C830 #30C8A4
split-complementary
#5830C8 #C8A430 #54C830
monochromatic
#2D1865 #422497 #5830C8 #7D5DD8 #A58EE4

Accessibility & contrast

On white

7.86
#5830C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5830C8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830C8#FFFFFF#000000##FFFFFF
##5830C81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#235B7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5830c8;
/* rgb */ color: rgb(88, 48, 200);
/* oklch */ color: oklch(46.2% 0.217 286.4);
Tailwind
colors: {
  custom: {
    50: '#936dda',
    500: '#5830c8',
    950: '#000000',
  },
}
SCSS
$custom: #5830c8;
$custom-light: #936dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5830c8",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 255.789,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46167,
    "c": 0.21682,
    "h": 286.4
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#5830C8
secondary
#BBCE85
accent
#E443BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5830C8

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

Preview Lab → · Contrast checker → · Palette generator →

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