#5233C9#5233C9

#5233C9 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.216 H 283.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5233C9
RGBrgb(82, 51, 201)
HSLhsl(252, 60%, 49%)
HSVhsv(252, 75%, 79%)
CMYKcmyk(59.2%, 74.6%, 0%, 21.2%)
CIE-LABlab(34.76, 52.63, -72.79)
CIE-LCHlch(34.76, 89.82, 305.87°)
OKLaboklab(46.09% 0.0502 -0.2098)
OKLCHoklch(46.09% 0.216 283.4)
XYZxyz(15.2029, 8.3775, 56.0629)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233C9 #AAC933
analogous
#335FC9 #5233C9 #9D33C9
triadic
#5233C9 #C95233 #33C952
tetradic
#5233C9 #C9335F #AAC933 #33C99D
square
#5233C9 #C9335F #AAC933 #33C99D
split-complementary
#5233C9 #C99D33 #5FC933
monochromatic
#2A1A67 #3E2798 #5233C9 #7A62D7 #A493E4

Accessibility & contrast

On white

7.85
#5233C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5233C9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233C9#FFFFFF#000000##FFFFFF
##5233C91.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5233c9;
/* rgb */ color: rgb(82, 51, 201);
/* oklch */ color: oklch(46.1% 0.216 283.4);
Tailwind
colors: {
  custom: {
    50: '#906edb',
    500: '#5233c9',
    950: '#000000',
  },
}
SCSS
$custom: #5233c9;
$custom-light: #906edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5233c9",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 252.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.21569,
    "h": 283.4
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5233C9

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

Preview Lab → · Contrast checker → · Palette generator →

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