#5232C9#5232C9

#5232C9 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.217 H 283.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5232C9
RGBrgb(82, 50, 201)
HSLhsl(253, 60%, 49%)
HSVhsv(253, 75%, 79%)
CMYKcmyk(59.2%, 75.1%, 0%, 21.2%)
CIE-LABlab(34.58, 53.13, -73.08)
CIE-LCHlch(34.58, 90.35, 306.02°)
OKLaboklab(45.96% 0.0508 -0.2106)
OKLCHoklch(45.96% 0.217 283.6)
XYZxyz(15.1596, 8.2911, 56.0485)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5232C9 #A9C932
analogous
#325EC9 #5232C9 #9E32C9
triadic
#5232C9 #C95232 #32C952
tetradic
#5232C9 #C9325E #A9C932 #32C99E
square
#5232C9 #C9325E #A9C932 #32C99E
split-complementary
#5232C9 #C99E32 #5EC932
monochromatic
#2A1A67 #3E2698 #5232C9 #7A61D8 #A392E4

Accessibility & contrast

On white

7.90
#5232C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5232C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5232C9
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5232C9#FFFFFF#000000##FFFFFF
##5232C91.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)
#0056CD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5232c9;
/* rgb */ color: rgb(82, 50, 201);
/* oklch */ color: oklch(46.0% 0.217 283.6);
Tailwind
colors: {
  custom: {
    50: '#906edb',
    500: '#5232c9',
    950: '#000000',
  },
}
SCSS
$custom: #5232c9;
$custom-light: #906edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5232c9",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 252.715,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.21667,
    "h": 283.6
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#5232C9
secondary
#C0CF88
accent
#E344C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5232C9

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

Preview Lab → · Contrast checker → · Palette generator →

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