#5230C9#5230C9

#5230C9 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.219 H 283.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5230C9
RGBrgb(82, 48, 201)
HSLhsl(253, 61%, 49%)
HSVhsv(253, 76%, 79%)
CMYKcmyk(59.2%, 76.1%, 0%, 21.2%)
CIE-LABlab(34.24, 54.11, -73.64)
CIE-LCHlch(34.24, 91.38, 306.31°)
OKLaboklab(45.72% 0.0522 -0.2122)
OKLCHoklch(45.72% 0.219 283.8)
XYZxyz(15.0760, 8.1238, 56.0206)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230C9 #A7C930
analogous
#305BC9 #5230C9 #9F30C9
triadic
#5230C9 #C95230 #30C952
tetradic
#5230C9 #C9305B #A7C930 #30C99F
square
#5230C9 #C9305B #A7C930 #30C99F
split-complementary
#5230C9 #C99F30 #5BC930
monochromatic
#2A1866 #3E2498 #5230C9 #795ED8 #A28FE4

Accessibility & contrast

On white

8.00
#5230C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5230C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5230C9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230C9#FFFFFF#000000##FFFFFF
##5230C91.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5230c9;
/* rgb */ color: rgb(82, 48, 201);
/* oklch */ color: oklch(45.7% 0.219 283.8);
Tailwind
colors: {
  custom: {
    50: '#906ddb',
    500: '#5230c9',
    950: '#000000',
  },
}
SCSS
$custom: #5230c9;
$custom-light: #906ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5230c9",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 253.333,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.21857,
    "h": 283.8
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#5230C9
secondary
#BFCF86
accent
#E543C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5230C9

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

Preview Lab → · Contrast checker → · Palette generator →

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