#823DD5#823DD5

#823DD5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.219 H 299.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#823DD5
RGBrgb(130, 61, 213)
HSLhsl(267, 64%, 54%)
HSVhsv(267, 71%, 84%)
CMYKcmyk(39%, 71.4%, 0%, 16.5%)
CIE-LABlab(42.59, 58.49, -66.70)
CIE-LCHlch(42.59, 88.71, 311.25°)
OKLaboklab(53.12% 0.1079 -0.1904)
OKLCHoklch(53.12% 0.219 299.5)
XYZxyz(22.8819, 12.8872, 64.2198)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823DD5 #90D53D
analogous
#3D44D5 #823DD5 #CE3DD5
triadic
#823DD5 #D5823D #3DD582
tetradic
#823DD5 #D53D44 #90D53D #3DD5CE
square
#823DD5 #D53D44 #90D53D #3DD5CE
split-complementary
#823DD5 #D5CE3D #44D53D
monochromatic
#471B7D #6426AF #823DD5 #A26FE0 #C3A2EB

Accessibility & contrast

On white

5.87
#823DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#823DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823DD5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823DD5#FFFFFF#000000##FFFFFF
##823DD51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#6F6385
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #823dd5;
/* rgb */ color: rgb(130, 61, 213);
/* oklch */ color: oklch(53.1% 0.219 299.5);
Tailwind
colors: {
  custom: {
    50: '#ad78e3',
    500: '#823dd5',
    950: '#000000',
  },
}
SCSS
$custom: #823dd5;
$custom-light: #ad78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#823dd5",
  "rgb": {
    "r": 130,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 267.237,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.21886,
    "h": 299.5
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#823DD5
secondary
#BAD796
accent
#E7409C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #823DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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