#823ED9#823ED9

#823ED9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.222 H 298.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#823ED9
RGBrgb(130, 62, 217)
HSLhsl(266, 67%, 55%)
HSVhsv(266, 71%, 85%)
CMYKcmyk(40.1%, 71.4%, 0%, 14.9%)
CIE-LABlab(43.06, 59.01, -68.23)
CIE-LCHlch(43.06, 90.21, 310.86°)
OKLaboklab(53.55% 0.1062 -0.1949)
OKLCHoklch(53.55% 0.222 298.6)
XYZxyz(23.4497, 13.2005, 66.9447)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823ED9 #95D93E
analogous
#3E47D9 #823ED9 #D03ED9
triadic
#823ED9 #D9823E #3ED982
tetradic
#823ED9 #D93E47 #95D93E #3ED9D0
square
#823ED9 #D93E47 #95D93E #3ED9D0
split-complementary
#823ED9 #D9D03E #47D93E
monochromatic
#481A83 #6424B6 #823ED9 #A371E3 #C4A4ED

Accessibility & contrast

On white

5.77
#823ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#823ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823ED9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823ED9#FFFFFF#000000##FFFFFF
##823ED91.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#6D6588
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #823ed9;
/* rgb */ color: rgb(130, 62, 217);
/* oklch */ color: oklch(53.5% 0.222 298.6);
Tailwind
colors: {
  custom: {
    50: '#ad79e6',
    500: '#823ed9',
    950: '#000000',
  },
}
SCSS
$custom: #823ed9;
$custom-light: #ad79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#823ed9",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 266.323,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.22195,
    "h": 298.6
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#823ED9
secondary
#BDDA99
accent
#EA3E9E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #823ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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