#823CD5#823CD5

#823CD5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.220 H 299.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#823CD5
RGBrgb(130, 60, 213)
HSLhsl(267, 65%, 54%)
HSVhsv(267, 72%, 84%)
CMYKcmyk(39%, 71.8%, 0%, 16.5%)
CIE-LABlab(42.43, 58.94, -66.97)
CIE-LCHlch(42.43, 89.21, 311.35°)
OKLaboklab(53% 0.1088 -0.1912)
OKLCHoklch(53% 0.22 299.6)
XYZxyz(22.8290, 12.7814, 64.2022)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823CD5 #8FD53C
analogous
#3C42D5 #823CD5 #CE3CD5
triadic
#823CD5 #D5823C #3CD582
tetradic
#823CD5 #D53C42 #8FD53C #3CD5CE
square
#823CD5 #D53C42 #8FD53C #3CD5CE
split-complementary
#823CD5 #D5CE3C #42D53C
monochromatic
#471B7C #6426AE #823CD5 #A26EE0 #C3A1EB

Accessibility & contrast

On white

5.90
#823CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#823CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823CD5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823CD5#FFFFFF#000000##FFFFFF
##823CD51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #823cd5;
/* rgb */ color: rgb(130, 60, 213);
/* oklch */ color: oklch(53.0% 0.220 299.6);
Tailwind
colors: {
  custom: {
    50: '#ad78e3',
    500: '#823cd5',
    950: '#000000',
  },
}
SCSS
$custom: #823cd5;
$custom-light: #ad78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#823cd5",
  "rgb": {
    "r": 130,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 267.451,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.21998,
    "h": 299.6
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#823CD5
secondary
#B9D796
accent
#E8409B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #823CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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