#5232C7#5232C7

#5232C7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.214 H 283.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5232C7
RGBrgb(82, 50, 199)
HSLhsl(253, 60%, 49%)
HSVhsv(253, 75%, 78%)
CMYKcmyk(58.8%, 74.9%, 0%, 22%)
CIE-LABlab(34.39, 52.55, -72.22)
CIE-LCHlch(34.39, 89.32, 306.04°)
OKLaboklab(45.77% 0.0513 -0.2081)
OKLCHoklch(45.77% 0.214 283.9)
XYZxyz(14.9259, 8.1976, 54.8175)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5232C7 #A7C732
analogous
#325DC7 #5232C7 #9D32C7
triadic
#5232C7 #C75232 #32C752
tetradic
#5232C7 #C7325D #A7C732 #32C79D
square
#5232C7 #C7325D #A7C732 #32C79D
split-complementary
#5232C7 #C79D32 #5DC732
monochromatic
#2A1965 #3E2696 #5232C7 #795FD7 #A290E3

Accessibility & contrast

On white

7.96
#5232C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5232C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5232C7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5232C7#FFFFFF#000000##FFFFFF
##5232C71.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#055C7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5232c7;
/* rgb */ color: rgb(82, 50, 199);
/* oklch */ color: oklch(45.8% 0.214 283.9);
Tailwind
colors: {
  custom: {
    50: '#906ed9',
    500: '#5232c7',
    950: '#000000',
  },
}
SCSS
$custom: #5232c7;
$custom-light: #906ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5232c7",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 252.886,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45772,
    "c": 0.21436,
    "h": 283.9
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#5232C7
secondary
#BFCE87
accent
#E345C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5232C7

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

Preview Lab → · Contrast checker → · Palette generator →

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