#823ED5#823ED5

#823ED5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.218 H 299.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#823ED5
RGBrgb(130, 62, 213)
HSLhsl(267, 64%, 54%)
HSVhsv(267, 71%, 84%)
CMYKcmyk(39%, 70.9%, 0%, 16.5%)
CIE-LABlab(42.76, 58.03, -66.44)
CIE-LCHlch(42.76, 88.21, 311.14°)
OKLaboklab(53.23% 0.1069 -0.1897)
OKLCHoklch(53.23% 0.218 299.4)
XYZxyz(22.9358, 12.9949, 64.2378)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823ED5 #91D53E
analogous
#3E46D5 #823ED5 #CE3ED5
triadic
#823ED5 #D5823E #3ED582
tetradic
#823ED5 #D53E46 #91D53E #3ED5CE
square
#823ED5 #D53E46 #91D53E #3ED5CE
split-complementary
#823ED5 #D5CE3E #46D53E
monochromatic
#471B7D #6426B0 #823ED5 #A370E0 #C3A3EB

Accessibility & contrast

On white

5.83
#823ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#823ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823ED5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823ED5#FFFFFF#000000##FFFFFF
##823ED51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #823ed5;
/* rgb */ color: rgb(130, 62, 213);
/* oklch */ color: oklch(53.2% 0.218 299.4);
Tailwind
colors: {
  custom: {
    50: '#ad79e3',
    500: '#823ed5',
    950: '#000000',
  },
}
SCSS
$custom: #823ed5;
$custom-light: #ad79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#823ed5",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 267.02,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.21772,
    "h": 299.4
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#823ED5
secondary
#BBD897
accent
#E7419C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #823ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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