#5232EA#5232EA

#5232EA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.254 H 279.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5232EA
RGBrgb(82, 50, 234)
HSLhsl(250, 81%, 56%)
HSVhsv(250, 79%, 92%)
CMYKcmyk(65%, 78.6%, 0%, 8.2%)
CIE-LABlab(37.87, 62.54, -86.64)
CIE-LCHlch(37.87, 106.85, 305.82°)
OKLaboklab(49.24% 0.042 -0.2502)
OKLCHoklch(49.24% 0.254 279.5)
XYZxyz(19.4668, 10.0140, 78.7330)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5232EA #CAEA32
analogous
#326EEA #5232EA #AE32EA
triadic
#5232EA #EA5232 #32EA52
tetradic
#5232EA #EA326E #CAEA32 #32EAAE
square
#5232EA #EA326E #CAEA32 #32EAAE
split-complementary
#5232EA #EAAE32 #6EEA32
monochromatic
#260F93 #3415CA #5232EA #816AF0 #B0A1F5

Accessibility & contrast

On white

6.99
#5232EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5232EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5232EA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5232EA#FFFFFF#000000##FFFFFF
##5232EA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060EF
Deuteranopia (green-blind)
#0052E7
Tritanopia (blue-blind)
#006A8E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5232ea;
/* rgb */ color: rgb(82, 50, 234);
/* oklch */ color: oklch(49.2% 0.254 279.5);
Tailwind
colors: {
  custom: {
    50: '#9670f2',
    500: '#5232ea',
    950: '#000000',
  },
}
SCSS
$custom: #5232ea;
$custom-light: #9670f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5232ea",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 234
  },
  "hsl": {
    "h": 250.435,
    "s": 81.416,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.25366,
    "h": 279.5
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#5232EA
secondary
#D5E296
accent
#F830D5
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5232EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5232EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva