#5233C8#5233C8

#5233C8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.215 H 283.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5233C8
RGBrgb(82, 51, 200)
HSLhsl(252, 59%, 49%)
HSVhsv(252, 75%, 78%)
CMYKcmyk(59%, 74.5%, 0%, 21.6%)
CIE-LABlab(34.66, 52.34, -72.36)
CIE-LCHlch(34.66, 89.31, 305.88°)
OKLaboklab(45.99% 0.0504 -0.2085)
OKLCHoklch(45.99% 0.215 283.6)
XYZxyz(15.0856, 8.3306, 55.4454)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233C8 #A9C833
analogous
#335FC8 #5233C8 #9D33C8
triadic
#5233C8 #C85233 #33C852
tetradic
#5233C8 #C8335F #A9C833 #33C89D
square
#5233C8 #C8335F #A9C833 #33C89D
split-complementary
#5233C8 #C89D33 #5FC833
monochromatic
#2A1A66 #3E2797 #5233C8 #7A61D7 #A392E3

Accessibility & contrast

On white

7.88
#5233C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5233C8
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233C8#FFFFFF#000000##FFFFFF
##5233C81.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5233c8;
/* rgb */ color: rgb(82, 51, 200);
/* oklch */ color: oklch(46.0% 0.215 283.6);
Tailwind
colors: {
  custom: {
    50: '#906eda',
    500: '#5233c8',
    950: '#000000',
  },
}
SCSS
$custom: #5233c8;
$custom-light: #906eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5233c8",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 252.483,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.21454,
    "h": 283.6
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#5233C8
secondary
#C0CE89
accent
#E345C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5233C8

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

Preview Lab → · Contrast checker → · Palette generator →

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