#823BCB#823BCB

#823BCB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.211 H 302.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#823BCB
RGBrgb(130, 59, 203)
HSLhsl(270, 58%, 51%)
HSVhsv(270, 71%, 80%)
CMYKcmyk(36%, 70.9%, 0%, 20.4%)
CIE-LABlab(41.51, 56.99, -62.70)
CIE-LCHlch(41.51, 84.73, 312.27°)
OKLaboklab(52.11% 0.1116 -0.1786)
OKLCHoklch(52.11% 0.211 302)
XYZxyz(21.5468, 12.1855, 57.7052)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823BCB #84CB3B
analogous
#3B3CCB #823BCB #CA3BCB
triadic
#823BCB #CB823B #3BCB82
tetradic
#823BCB #CB3B3C #84CB3B #3BCBCA
square
#823BCB #CB3B3C #84CB3B #3BCBCA
split-complementary
#823BCB #CBCA3B #3CCB3B
monochromatic
#451D6E #642A9F #823BCB #A16BD8 #C09CE5

Accessibility & contrast

On white

6.11
#823BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#823BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823BCB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823BCB#FFFFFF#000000##FFFFFF
##823BCB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#735E7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #823bcb;
/* rgb */ color: rgb(130, 59, 203);
/* oklch */ color: oklch(52.1% 0.211 302.0);
Tailwind
colors: {
  custom: {
    50: '#ac77dc',
    500: '#823bcb',
    950: '#000000',
  },
}
SCSS
$custom: #823bcb;
$custom-light: #ac77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#823bcb",
  "rgb": {
    "r": 130,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 269.583,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.21064,
    "h": 302
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#823BCB
secondary
#B1D191
accent
#E14795
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #823BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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