#532DCA#532DCA

#532DCA is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.222 H 284.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#532DCA
RGBrgb(83, 45, 202)
HSLhsl(255, 64%, 48%)
HSVhsv(255, 78%, 79%)
CMYKcmyk(58.9%, 77.7%, 0%, 20.8%)
CIE-LABlab(33.94, 55.92, -74.72)
CIE-LCHlch(33.94, 93.33, 306.81°)
OKLaboklab(45.57% 0.0553 -0.2153)
OKLCHoklch(45.57% 0.222 284.4)
XYZxyz(15.1631, 7.9791, 56.6068)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DCA #A4CA2D
analogous
#2D55CA #532DCA #A12DCA
triadic
#532DCA #CA532D #2DCA53
tetradic
#532DCA #CA2D55 #A4CA2D #2DCAA1
square
#532DCA #CA2D55 #A4CA2D #2DCAA1
split-complementary
#532DCA #CAA12D #55CA2D
monochromatic
#2A1766 #3E2298 #532DCA #795ADA #A28CE5

Accessibility & contrast

On white

8.09
#532DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#532DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DCA
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DCA#FFFFFF#000000##FFFFFF
##532DCA1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#035B7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #532dca;
/* rgb */ color: rgb(83, 45, 202);
/* oklch */ color: oklch(45.6% 0.222 284.4);
Tailwind
colors: {
  custom: {
    50: '#916bdb',
    500: '#532dca',
    950: '#000000',
  },
}
SCSS
$custom: #532dca;
$custom-light: #916bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#532dca",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 254.522,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.22231,
    "h": 284.4
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#532DCA
secondary
#BDCF83
accent
#E741BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #532DCA

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

Preview Lab → · Contrast checker → · Palette generator →

#532DCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva