#823DC2#823DC2

#823DC2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.199 H 303.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#823DC2
RGBrgb(130, 61, 194)
HSLhsl(271, 52%, 50%)
HSVhsv(271, 69%, 76%)
CMYKcmyk(33%, 68.6%, 0%, 23.9%)
CIE-LABlab(41.18, 53.92, -58.00)
CIE-LCHlch(41.18, 79.19, 312.91°)
OKLaboklab(51.67% 0.111 -0.1648)
OKLCHoklch(51.67% 0.199 303.9)
XYZxyz(20.6100, 11.9784, 52.2548)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823DC2 #7DC23D
analogous
#403DC2 #823DC2 #C23DBF
triadic
#823DC2 #C2823D #3DC282
tetradic
#823DC2 #C2403D #7DC23D #3DBFC2
square
#823DC2 #C2403D #7DC23D #3DBFC2
split-complementary
#823DC2 #BFC23D #3DC240
monochromatic
#442065 #632E93 #823DC2 #A06CD1 #BE9ADF

Accessibility & contrast

On white

6.18
#823DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#823DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823DC2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823DC2#FFFFFF#000000##FFFFFF
##823DC21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#765B7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #823dc2;
/* rgb */ color: rgb(130, 61, 194);
/* oklch */ color: oklch(51.7% 0.199 303.9);
Tailwind
colors: {
  custom: {
    50: '#ab78d5',
    500: '#823dc2',
    950: '#000000',
  },
}
SCSS
$custom: #823dc2;
$custom-light: #ab78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#823dc2",
  "rgb": {
    "r": 130,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 271.128,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.1987,
    "h": 303.9
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#823DC2
secondary
#ACCB90
accent
#DC4C91
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #823DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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