#5239C9#5239C9

#5239C9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.210 H 282.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5239C9
RGBrgb(82, 57, 201)
HSLhsl(250, 57%, 51%)
HSVhsv(250, 72%, 79%)
CMYKcmyk(59.2%, 71.6%, 0%, 21.2%)
CIE-LABlab(35.86, 49.53, -70.97)
CIE-LCHlch(35.86, 86.55, 304.91°)
OKLaboklab(46.87% 0.0459 -0.2045)
OKLCHoklch(46.87% 0.21 282.6)
XYZxyz(15.4821, 8.9361, 56.1560)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5239C9 #B0C939
analogous
#3968C9 #5239C9 #9A39C9
triadic
#5239C9 #C95239 #39C952
tetradic
#5239C9 #C93968 #B0C939 #39C99A
square
#5239C9 #C93968 #B0C939 #39C99A
split-complementary
#5239C9 #C99A39 #68C939
monochromatic
#2B1D6B #3E2A9B #5239C9 #7C69D6 #A699E3

Accessibility & contrast

On white

7.53
#5239C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5239C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5239C9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5239C9#FFFFFF#000000##FFFFFF
##5239C91.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5239c9;
/* rgb */ color: rgb(82, 57, 201);
/* oklch */ color: oklch(46.9% 0.210 282.6);
Tailwind
colors: {
  custom: {
    50: '#9072db',
    500: '#5239c9',
    950: '#000000',
  },
}
SCSS
$custom: #5239c9;
$custom-light: #9072db;
$custom-dark: #000000;
JSON
{
  "hex": "#5239c9",
  "rgb": {
    "r": 82,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 250.417,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.20959,
    "h": 282.6
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#5239C9
secondary
#C4CF8F
accent
#E047C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5239C9

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

Preview Lab → · Contrast checker → · Palette generator →

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