#823DD2#823DD2

#823DD2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.216 H 300.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#823DD2
RGBrgb(130, 61, 210)
HSLhsl(268, 62%, 53%)
HSVhsv(268, 71%, 82%)
CMYKcmyk(38.1%, 71%, 0%, 17.6%)
CIE-LABlab(42.36, 57.76, -65.35)
CIE-LCHlch(42.36, 87.22, 311.47°)
OKLaboklab(52.88% 0.1084 -0.1865)
OKLCHoklch(52.88% 0.216 300.2)
XYZxyz(22.5046, 12.7362, 62.2330)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823DD2 #8DD23D
analogous
#3D42D2 #823DD2 #CC3DD2
triadic
#823DD2 #D2823D #3DD282
tetradic
#823DD2 #D23D42 #8DD23D #3DD2CC
square
#823DD2 #D23D42 #8DD23D #3DD2CC
split-complementary
#823DD2 #D2CC3D #42D23D
monochromatic
#471C79 #6428AA #823DD2 #A26FDE #C2A0E9

Accessibility & contrast

On white

5.92
#823DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#823DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823DD2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823DD2#FFFFFF#000000##FFFFFF
##823DD21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#706284
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #823dd2;
/* rgb */ color: rgb(130, 61, 210);
/* oklch */ color: oklch(52.9% 0.216 300.2);
Tailwind
colors: {
  custom: {
    50: '#ad78e1',
    500: '#823dd2',
    950: '#000000',
  },
}
SCSS
$custom: #823dd2;
$custom-light: #ad78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#823dd2",
  "rgb": {
    "r": 130,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 267.785,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.2157,
    "h": 300.2
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#823DD2
secondary
#B8D695
accent
#E5429A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #823DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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