#5233D6#5233D6

#5233D6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.231 H 281.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5233D6
RGBrgb(82, 51, 214)
HSLhsl(251, 67%, 52%)
HSVhsv(251, 76%, 84%)
CMYKcmyk(61.7%, 76.2%, 0%, 16.1%)
CIE-LABlab(36.01, 56.39, -78.26)
CIE-LCHlch(36.01, 96.46, 305.78°)
OKLaboklab(47.35% 0.0469 -0.2257)
OKLCHoklch(47.35% 0.231 281.7)
XYZxyz(16.7973, 9.0153, 64.4603)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233D6 #B7D633
analogous
#3366D6 #5233D6 #A433D6
triadic
#5233D6 #D65233 #33D652
tetradic
#5233D6 #D63366 #B7D633 #33D6A4
square
#5233D6 #D63366 #B7D633 #33D6A4
split-complementary
#5233D6 #D6A433 #66D633
monochromatic
#2A1877 #3C22AA #5233D6 #7D66E0 #A899EA

Accessibility & contrast

On white

7.49
#5233D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5233D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233D6
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233D6#FFFFFF#000000##FFFFFF
##5233D61.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADB
Deuteranopia (green-blind)
#004FD3
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5233d6;
/* rgb */ color: rgb(82, 51, 214);
/* oklch */ color: oklch(47.3% 0.231 281.7);
Tailwind
colors: {
  custom: {
    50: '#926fe4',
    500: '#5233d6',
    950: '#000000',
  },
}
SCSS
$custom: #5233d6;
$custom-light: #926fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5233d6",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 251.411,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.23056,
    "h": 281.7
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#5233D6
secondary
#C9D68F
accent
#E93EC9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #5233D6

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

Preview Lab → · Contrast checker → · Palette generator →

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