#823EA6#823EA6

#823EA6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.167 H 312.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#823EA6
RGBrgb(130, 62, 166)
HSLhsl(279, 46%, 45%)
HSVhsv(279, 63%, 65%)
CMYKcmyk(21.7%, 62.7%, 0%, 34.9%)
CIE-LABlab(39.49, 46.95, -44.20)
CIE-LCHlch(39.49, 64.48, 316.73°)
OKLaboklab(49.86% 0.112 -0.1243)
OKLCHoklch(49.86% 0.167 312)
XYZxyz(17.8102, 10.9447, 37.2433)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823EA6 #62A63E
analogous
#4E3EA6 #823EA6 #A63E96
triadic
#823EA6 #A6823E #3EA682
tetradic
#823EA6 #A64E3E #62A63E #3E96A6
square
#823EA6 #A64E3E #62A63E #3E96A6
split-complementary
#823EA6 #96A63E #3EA64E
monochromatic
#3C1D4D #5F2D79 #823EA6 #A05EC3 #BA8BD4

Accessibility & contrast

On white

6.59
#823EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#823EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823EA6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823EA6#FFFFFF#000000##FFFFFF
##823EA61.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AA9
Deuteranopia (green-blind)
#365EA4
Tritanopia (blue-blind)
#7E526C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #823ea6;
/* rgb */ color: rgb(130, 62, 166);
/* oklch */ color: oklch(49.9% 0.167 312.0);
Tailwind
colors: {
  custom: {
    50: '#a977c1',
    500: '#823ea6',
    950: '#000000',
  },
}
SCSS
$custom: #823ea6;
$custom-light: #a977c1;
$custom-dark: #000000;
JSON
{
  "hex": "#823ea6",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 279.231,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.16734,
    "h": 312
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#823EA6
secondary
#97BE82
accent
#D55380
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #823EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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