#823DC6#823DC6

#823DC6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.203 H 303.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#823DC6
RGBrgb(130, 61, 198)
HSLhsl(270, 55%, 51%)
HSVhsv(270, 69%, 78%)
CMYKcmyk(34.3%, 69.2%, 0%, 22.4%)
CIE-LABlab(41.47, 54.87, -59.86)
CIE-LCHlch(41.47, 81.20, 312.51°)
OKLaboklab(51.97% 0.1104 -0.1703)
OKLCHoklch(51.97% 0.203 303)
XYZxyz(21.0653, 12.1605, 54.6526)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823DC6 #81C63D
analogous
#3D3DC6 #823DC6 #C63DC5
triadic
#823DC6 #C6823D #3DC682
tetradic
#823DC6 #C63D3D #81C63D #3DC5C6
square
#823DC6 #C63D3D #81C63D #3DC5C6
split-complementary
#823DC6 #C5C63D #3DC63D
monochromatic
#451F6A #632D99 #823DC6 #A06CD4 #BF9CE2

Accessibility & contrast

On white

6.12
#823DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#823DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823DC6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823DC6#FFFFFF#000000##FFFFFF
##823DC61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #823dc6;
/* rgb */ color: rgb(130, 61, 198);
/* oklch */ color: oklch(52.0% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#ac78d8',
    500: '#823dc6',
    950: '#000000',
  },
}
SCSS
$custom: #823dc6;
$custom-light: #ac78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#823dc6",
  "rgb": {
    "r": 130,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 270.219,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.20297,
    "h": 303
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#823DC6
secondary
#AFCE91
accent
#DE4A93
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #823DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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