#823ED2#823ED2

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

Color values

HEX#823ED2
RGBrgb(130, 62, 210)
HSLhsl(268, 62%, 53%)
HSVhsv(268, 70%, 82%)
CMYKcmyk(38.1%, 70.5%, 0%, 17.6%)
CIE-LABlab(42.53, 57.30, -65.08)
CIE-LCHlch(42.53, 86.71, 311.36°)
OKLaboklab(53% 0.1075 -0.1857)
OKLCHoklch(53% 0.215 300.1)
XYZxyz(22.5585, 12.8440, 62.2509)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823ED2 #8ED23E
analogous
#3E44D2 #823ED2 #CC3ED2
triadic
#823ED2 #D2823E #3ED282
tetradic
#823ED2 #D23E44 #8ED23E #3ED2CC
square
#823ED2 #D23E44 #8ED23E #3ED2CC
split-complementary
#823ED2 #D2CC3E #44D23E
monochromatic
#471C79 #6428AB #823ED2 #A270DE #C2A1E9

Accessibility & contrast

On white

5.88
#823ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#823ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823ED2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823ED2#FFFFFF#000000##FFFFFF
##823ED21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.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: #823ed2;
/* rgb */ color: rgb(130, 62, 210);
/* oklch */ color: oklch(53.0% 0.215 300.1);
Tailwind
colors: {
  custom: {
    50: '#ad79e1',
    500: '#823ed2',
    950: '#000000',
  },
}
SCSS
$custom: #823ed2;
$custom-light: #ad79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#823ed2",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 267.568,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53,
    "c": 0.21453,
    "h": 300.1
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#823ED2
secondary
#B8D696
accent
#E5439A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #823ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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