#823ED1#823ED1

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

Color values

HEX#823ED1
RGBrgb(130, 62, 209)
HSLhsl(268, 62%, 53%)
HSVhsv(268, 70%, 82%)
CMYKcmyk(37.8%, 70.3%, 0%, 18%)
CIE-LABlab(42.45, 57.06, -64.63)
CIE-LCHlch(42.45, 86.21, 311.44°)
OKLaboklab(52.92% 0.1076 -0.1843)
OKLCHoklch(52.92% 0.213 300.3)
XYZxyz(22.4343, 12.7943, 61.5968)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823ED1 #8DD13E
analogous
#3E43D1 #823ED1 #CB3ED1
triadic
#823ED1 #D1823E #3ED182
tetradic
#823ED1 #D13E43 #8DD13E #3ED1CB
square
#823ED1 #D13E43 #8DD13E #3ED1CB
split-complementary
#823ED1 #D1CB3E #43D13E
monochromatic
#471D78 #6428A9 #823ED1 #A26FDD #C2A1E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##823ED1#FFFFFF#000000##FFFFFF
##823ED11.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)
#0064D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#706283
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #823ed1;
/* rgb */ color: rgb(130, 62, 209);
/* oklch */ color: oklch(52.9% 0.213 300.3);
Tailwind
colors: {
  custom: {
    50: '#ac79e0',
    500: '#823ed1',
    950: '#000000',
  },
}
SCSS
$custom: #823ed1;
$custom-light: #ac79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#823ed1",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 267.755,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.21347,
    "h": 300.3
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #823ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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