#823AD2#823AD2

#823AD2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.219 H 300.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#823AD2
RGBrgb(130, 58, 210)
HSLhsl(268, 63%, 53%)
HSVhsv(268, 72%, 82%)
CMYKcmyk(38.1%, 72.4%, 0%, 17.6%)
CIE-LABlab(41.88, 59.11, -66.13)
CIE-LCHlch(41.88, 88.70, 311.79°)
OKLaboklab(52.54% 0.1113 -0.1887)
OKLCHoklch(52.54% 0.219 300.5)
XYZxyz(22.3490, 12.4249, 62.1811)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823AD2 #8AD23A
analogous
#3A3ED2 #823AD2 #CE3AD2
triadic
#823AD2 #D2823A #3AD282
tetradic
#823AD2 #D23A3E #8AD23A #3AD2CE
square
#823AD2 #D23A3E #8AD23A #3AD2CE
split-complementary
#823AD2 #D2CE3A #3ED23A
monochromatic
#461B77 #6426A8 #823AD2 #A26CDD #C19EE9

Accessibility & contrast

On white

6.03
#823AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#823AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823AD2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823AD2#FFFFFF#000000##FFFFFF
##823AD21.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#706083
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #823ad2;
/* rgb */ color: rgb(130, 58, 210);
/* oklch */ color: oklch(52.5% 0.219 300.5);
Tailwind
colors: {
  custom: {
    50: '#ad77e1',
    500: '#823ad2',
    950: '#000000',
  },
}
SCSS
$custom: #823ad2;
$custom-light: #ad77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#823ad2",
  "rgb": {
    "r": 130,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 268.421,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.21908,
    "h": 300.5
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#823AD2
secondary
#B6D593
accent
#E64298
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #823AD2

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

Preview Lab → · Contrast checker → · Palette generator →

#823AD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva