#5233C6#5233C6

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

Color values

HEX#5233C6
RGBrgb(82, 51, 198)
HSLhsl(253, 59%, 49%)
HSVhsv(253, 74%, 78%)
CMYKcmyk(58.6%, 74.2%, 0%, 22.4%)
CIE-LABlab(34.47, 51.76, -71.50)
CIE-LCHlch(34.47, 88.27, 305.90°)
OKLaboklab(45.8% 0.0509 -0.206)
OKLCHoklch(45.8% 0.212 283.9)
XYZxyz(14.8534, 8.2378, 54.2225)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233C6 #A7C633
analogous
#335EC6 #5233C6 #9C33C6
triadic
#5233C6 #C65233 #33C652
tetradic
#5233C6 #C6335E #A7C633 #33C69C
square
#5233C6 #C6335E #A7C633 #33C69C
split-complementary
#5233C6 #C69C33 #5EC633
monochromatic
#2A1A65 #3E2695 #5233C6 #7960D6 #A291E3

Accessibility & contrast

On white

7.93
#5233C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5233C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233C6
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233C6#FFFFFF#000000##FFFFFF
##5233C61.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5233c6;
/* rgb */ color: rgb(82, 51, 198);
/* oklch */ color: oklch(45.8% 0.212 283.9);
Tailwind
colors: {
  custom: {
    50: '#906ed9',
    500: '#5233c6',
    950: '#000000',
  },
}
SCSS
$custom: #5233c6;
$custom-light: #906ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5233c6",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 252.653,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.21222,
    "h": 283.9
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#5233C6
secondary
#BFCD87
accent
#E246C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5233C6

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

Preview Lab → · Contrast checker → · Palette generator →

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