#823BB8#823BB8

#823BB8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.191 H 306.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#823BB8
RGBrgb(130, 59, 184)
HSLhsl(274, 51%, 48%)
HSVhsv(274, 68%, 72%)
CMYKcmyk(29.3%, 67.9%, 0%, 27.8%)
CIE-LABlab(40.14, 52.51, -53.83)
CIE-LCHlch(40.14, 75.20, 314.29°)
OKLaboklab(50.7% 0.1144 -0.1526)
OKLCHoklch(50.7% 0.191 306.9)
XYZxyz(19.4198, 11.3347, 46.5029)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823BB8 #71B83B
analogous
#443BB8 #823BB8 #B83BAF
triadic
#823BB8 #B8823B #3BB882
tetradic
#823BB8 #B8443B #71B83B #3BAFB8
square
#823BB8 #B8443B #71B83B #3BAFB8
split-complementary
#823BB8 #AFB83B #3BB844
monochromatic
#411D5B #612C8A #823BB8 #9F63CD #BC92DC

Accessibility & contrast

On white

6.43
#823BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#823BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823BB8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823BB8#FFFFFF#000000##FFFFFF
##823BB81.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#1A5FB5
Tritanopia (blue-blind)
#795675
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #823bb8;
/* rgb */ color: rgb(130, 59, 184);
/* oklch */ color: oklch(50.7% 0.191 306.9);
Tailwind
colors: {
  custom: {
    50: '#ab76ce',
    500: '#823bb8',
    950: '#000000',
  },
}
SCSS
$custom: #823bb8;
$custom-light: #ab76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#823bb8",
  "rgb": {
    "r": 130,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 274.08,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.19066,
    "h": 306.9
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#823BB8
secondary
#A3C788
accent
#DB4D8A
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #823BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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