#823BD2#823BD2

#823BD2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.218 H 300.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#823BD2
RGBrgb(130, 59, 210)
HSLhsl(268, 63%, 53%)
HSVhsv(268, 72%, 82%)
CMYKcmyk(38.1%, 71.9%, 0%, 17.6%)
CIE-LABlab(42.04, 58.67, -65.88)
CIE-LCHlch(42.04, 88.21, 311.69°)
OKLaboklab(52.65% 0.1103 -0.188)
OKLCHoklch(52.65% 0.218 300.4)
XYZxyz(22.3999, 12.5267, 62.1980)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823BD2 #8BD23B
analogous
#3B3FD2 #823BD2 #CE3BD2
triadic
#823BD2 #D2823B #3BD282
tetradic
#823BD2 #D23B3F #8BD23B #3BD2CE
square
#823BD2 #D23B3F #8BD23B #3BD2CE
split-complementary
#823BD2 #D2CE3B #3FD23B
monochromatic
#471B77 #6427A9 #823BD2 #A26DDD #C19FE9

Accessibility & contrast

On white

5.99
#823BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#823BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823BD2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823BD2#FFFFFF#000000##FFFFFF
##823BD21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#706183
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #823bd2;
/* rgb */ color: rgb(130, 59, 210);
/* oklch */ color: oklch(52.7% 0.218 300.4);
Tailwind
colors: {
  custom: {
    50: '#ad77e1',
    500: '#823bd2',
    950: '#000000',
  },
}
SCSS
$custom: #823bd2;
$custom-light: #ad77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#823bd2",
  "rgb": {
    "r": 130,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 268.212,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.21796,
    "h": 300.4
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#823BD2
secondary
#B6D594
accent
#E64299
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #823BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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