#5233C7#5233C7

#5233C7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.213 H 283.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5233C7
RGBrgb(82, 51, 199)
HSLhsl(253, 59%, 49%)
HSVhsv(253, 74%, 78%)
CMYKcmyk(58.8%, 74.4%, 0%, 22%)
CIE-LABlab(34.57, 52.05, -71.93)
CIE-LCHlch(34.57, 88.79, 305.89°)
OKLaboklab(45.9% 0.0507 -0.2073)
OKLCHoklch(45.9% 0.213 283.7)
XYZxyz(14.9691, 8.2840, 54.8319)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233C7 #A8C733
analogous
#335EC7 #5233C7 #9C33C7
triadic
#5233C7 #C75233 #33C752
tetradic
#5233C7 #C7335E #A8C733 #33C79C
square
#5233C7 #C7335E #A8C733 #33C79C
split-complementary
#5233C7 #C79C33 #5EC733
monochromatic
#2A1A66 #3E2796 #5233C7 #7961D6 #A391E3

Accessibility & contrast

On white

7.90
#5233C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5233C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233C7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233C7#FFFFFF#000000##FFFFFF
##5233C71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#045D7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5233c7;
/* rgb */ color: rgb(82, 51, 199);
/* oklch */ color: oklch(45.9% 0.213 283.7);
Tailwind
colors: {
  custom: {
    50: '#906ed9',
    500: '#5233c7',
    950: '#000000',
  },
}
SCSS
$custom: #5233c7;
$custom-light: #906ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5233c7",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 252.568,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.21338,
    "h": 283.7
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#5233C7
secondary
#BFCE88
accent
#E245C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5233C7

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

Preview Lab → · Contrast checker → · Palette generator →

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