#5830C9#5830C9

#5830C9 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.218 H 286.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5830C9
RGBrgb(88, 48, 201)
HSLhsl(256, 61%, 49%)
HSVhsv(256, 76%, 79%)
CMYKcmyk(56.2%, 76.1%, 0%, 21.2%)
CIE-LABlab(34.81, 54.86, -72.68)
CIE-LCHlch(34.81, 91.06, 307.05°)
OKLaboklab(46.26% 0.0609 -0.2092)
OKLCHoklch(46.26% 0.218 286.2)
XYZxyz(15.6209, 8.4048, 56.0462)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5830C9 #A1C930
analogous
#3055C9 #5830C9 #A530C9
triadic
#5830C9 #C95830 #30C958
tetradic
#5830C9 #C93055 #A1C930 #30C9A5
square
#5830C9 #C93055 #A1C930 #30C9A5
split-complementary
#5830C9 #C9A530 #55C930
monochromatic
#2D1866 #422498 #5830C9 #7E5ED8 #A58FE4

Accessibility & contrast

On white

7.83
#5830C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5830C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5830C9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5830C9#FFFFFF#000000##FFFFFF
##5830C91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#225C7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5830c9;
/* rgb */ color: rgb(88, 48, 201);
/* oklch */ color: oklch(46.3% 0.218 286.2);
Tailwind
colors: {
  custom: {
    50: '#936ddb',
    500: '#5830c9',
    950: '#000000',
  },
}
SCSS
$custom: #5830c9;
$custom-light: #936ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5830c9",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 255.686,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.21794,
    "h": 286.2
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#5830C9
secondary
#BCCF86
accent
#E543BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5830C9

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

Preview Lab → · Contrast checker → · Palette generator →

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