#823BD4#823BD4

#823BD4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.220 H 300.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#823BD4
RGBrgb(130, 59, 212)
HSLhsl(268, 64%, 53%)
HSVhsv(268, 72%, 83%)
CMYKcmyk(38.7%, 72.2%, 0%, 16.9%)
CIE-LABlab(42.20, 59.15, -66.78)
CIE-LCHlch(42.20, 89.20, 311.53°)
OKLaboklab(52.81% 0.1099 -0.1906)
OKLCHoklch(52.81% 0.22 300)
XYZxyz(22.6506, 12.6270, 63.5185)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823BD4 #8DD43B
analogous
#3B40D4 #823BD4 #CE3BD4
triadic
#823BD4 #D4823B #3BD482
tetradic
#823BD4 #D43B40 #8DD43B #3BD4CE
square
#823BD4 #D43B40 #8DD43B #3BD4CE
split-complementary
#823BD4 #D4CE3B #40D43B
monochromatic
#471B7A #6426AC #823BD4 #A26DDF #C29FEA

Accessibility & contrast

On white

5.96
#823BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#823BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823BD4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823BD4#FFFFFF#000000##FFFFFF
##823BD41.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#6F6184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #823bd4;
/* rgb */ color: rgb(130, 59, 212);
/* oklch */ color: oklch(52.8% 0.220 300.0);
Tailwind
colors: {
  custom: {
    50: '#ad77e2',
    500: '#823bd4',
    950: '#000000',
  },
}
SCSS
$custom: #823bd4;
$custom-light: #ad77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#823bd4",
  "rgb": {
    "r": 130,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 267.843,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.22006,
    "h": 300
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#823BD4
secondary
#B8D694
accent
#E7419A
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #823BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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