#5233C0#5233C0

#5233C0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.205 H 284.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5233C0
RGBrgb(82, 51, 192)
HSLhsl(253, 58%, 48%)
HSVhsv(253, 73%, 75%)
CMYKcmyk(57.3%, 73.4%, 0%, 24.7%)
CIE-LABlab(33.91, 50.01, -68.91)
CIE-LCHlch(33.91, 85.15, 305.97°)
OKLaboklab(45.24% 0.0523 -0.1984)
OKLCHoklch(45.24% 0.205 284.8)
XYZxyz(14.1750, 7.9664, 50.6497)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233C0 #A1C033
analogous
#335BC0 #5233C0 #9833C0
triadic
#5233C0 #C05233 #33C052
tetradic
#5233C0 #C0335B #A1C033 #33C098
square
#5233C0 #C0335B #A1C033 #33C098
split-complementary
#5233C0 #C09833 #5BC033
monochromatic
#29195F #3D2690 #5233C0 #775CD4 #9F8DE1

Accessibility & contrast

On white

8.10
#5233C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5233C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233C0
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233C0#FFFFFF#000000##FFFFFF
##5233C01.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#185A77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5233c0;
/* rgb */ color: rgb(82, 51, 192);
/* oklch */ color: oklch(45.2% 0.205 284.8);
Tailwind
colors: {
  custom: {
    50: '#8f6ed4',
    500: '#5233c0',
    950: '#000000',
  },
}
SCSS
$custom: #5233c0;
$custom-light: #8f6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#5233c0",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 192
  },
  "hsl": {
    "h": 253.191,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.20522,
    "h": 284.8
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#5233C0
secondary
#BBCB84
accent
#E147BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5233C0

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

Preview Lab → · Contrast checker → · Palette generator →

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