#5233CF#5233CF

#5233CF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.223 H 282.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5233CF
RGBrgb(82, 51, 207)
HSLhsl(252, 62%, 51%)
HSVhsv(252, 75%, 81%)
CMYKcmyk(60.4%, 75.4%, 0%, 18.8%)
CIE-LABlab(35.33, 54.37, -75.33)
CIE-LCHlch(35.33, 92.90, 305.82°)
OKLaboklab(46.66% 0.0487 -0.2172)
OKLCHoklch(46.66% 0.223 282.6)
XYZxyz(15.9225, 8.6654, 59.8529)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233CF #B0CF33
analogous
#3362CF #5233CF #A033CF
triadic
#5233CF #CF5233 #33CF52
tetradic
#5233CF #CF3362 #B0CF33 #33CFA0
square
#5233CF #CF3362 #B0CF33 #33CFA0
split-complementary
#5233CF #CFA033 #62CF33
monochromatic
#2B1A6E #3E259F #5233CF #7C65DB #A696E6

Accessibility & contrast

On white

7.68
#5233CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5233CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233CF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233CF#FFFFFF#000000##FFFFFF
##5233CF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004ECC
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5233cf;
/* rgb */ color: rgb(82, 51, 207);
/* oklch */ color: oklch(46.7% 0.223 282.6);
Tailwind
colors: {
  custom: {
    50: '#916fdf',
    500: '#5233cf',
    950: '#000000',
  },
}
SCSS
$custom: #5233cf;
$custom-light: #916fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5233cf",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 207
  },
  "hsl": {
    "h": 251.923,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.2226,
    "h": 282.6
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#5233CF
secondary
#C4D28C
accent
#E543C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5233CF

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

Preview Lab → · Contrast checker → · Palette generator →

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