#823EC6#823EC6

#823EC6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.202 H 302.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#823EC6
RGBrgb(130, 62, 198)
HSLhsl(270, 54%, 51%)
HSVhsv(270, 69%, 78%)
CMYKcmyk(34.3%, 68.7%, 0%, 22.4%)
CIE-LABlab(41.64, 54.40, -59.58)
CIE-LCHlch(41.64, 80.68, 312.39°)
OKLaboklab(52.09% 0.1094 -0.1695)
OKLCHoklch(52.09% 0.202 302.8)
XYZxyz(21.1192, 12.2683, 54.6705)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823EC6 #82C63E
analogous
#3E3EC6 #823EC6 #C63EC6
triadic
#823EC6 #C6823E #3EC682
tetradic
#823EC6 #C63E3E #82C63E #3EC6C6
square
#823EC6 #C63E3E #82C63E #3EC6C6
split-complementary
#823EC6 #C6C63E #3EC63E
monochromatic
#451F6A #632D99 #823EC6 #A16DD4 #BF9CE2

Accessibility & contrast

On white

6.08
#823EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#823EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823EC6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823EC6#FFFFFF#000000##FFFFFF
##823EC61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#745D7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #823ec6;
/* rgb */ color: rgb(130, 62, 198);
/* oklch */ color: oklch(52.1% 0.202 302.8);
Tailwind
colors: {
  custom: {
    50: '#ac78d8',
    500: '#823ec6',
    950: '#000000',
  },
}
SCSS
$custom: #823ec6;
$custom-light: #ac78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#823ec6",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 270,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.20173,
    "h": 302.8
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#823EC6
secondary
#B0CE92
accent
#DE4A94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #823EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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