#823BC4#823BC4

#823BC4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.203 H 303.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#823BC4
RGBrgb(130, 59, 196)
HSLhsl(271, 54%, 50%)
HSVhsv(271, 70%, 77%)
CMYKcmyk(33.7%, 69.9%, 0%, 23.1%)
CIE-LABlab(40.99, 55.32, -59.47)
CIE-LCHlch(40.99, 81.22, 312.93°)
OKLaboklab(51.58% 0.1128 -0.1692)
OKLCHoklch(51.58% 0.203 303.7)
XYZxyz(20.7314, 11.8593, 53.4107)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823BC4 #7DC43B
analogous
#3E3BC4 #823BC4 #C43BC1
triadic
#823BC4 #C4823B #3BC482
tetradic
#823BC4 #C43E3B #7DC43B #3BC1C4
square
#823BC4 #C43E3B #7DC43B #3BC1C4
split-complementary
#823BC4 #C1C43B #3BC43E
monochromatic
#441F66 #632D95 #823BC4 #A06AD2 #BE99E0

Accessibility & contrast

On white

6.23
#823BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#823BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823BC4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823BC4#FFFFFF#000000##FFFFFF
##823BC41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#755B7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #823bc4;
/* rgb */ color: rgb(130, 59, 196);
/* oklch */ color: oklch(51.6% 0.203 303.7);
Tailwind
colors: {
  custom: {
    50: '#ac77d7',
    500: '#823bc4',
    950: '#000000',
  },
}
SCSS
$custom: #823bc4;
$custom-light: #ac77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#823bc4",
  "rgb": {
    "r": 130,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 271.095,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.2033,
    "h": 303.7
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#823BC4
secondary
#ACCC8F
accent
#DD4B91
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #823BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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