#823BB2#823BB2

#823BB2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.184 H 308.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#823BB2
RGBrgb(130, 59, 178)
HSLhsl(276, 50%, 46%)
HSVhsv(276, 67%, 70%)
CMYKcmyk(27%, 66.9%, 0%, 30.2%)
CIE-LABlab(39.73, 51.13, -50.95)
CIE-LCHlch(39.73, 72.18, 315.11°)
OKLaboklab(50.28% 0.1149 -0.1441)
OKLCHoklch(50.28% 0.184 308.6)
XYZxyz(18.8041, 11.0884, 43.2605)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823BB2 #6BB23B
analogous
#463BB2 #823BB2 #B23BA7
triadic
#823BB2 #B2823B #3BB282
tetradic
#823BB2 #B2463B #6BB23B #3BA7B2
square
#823BB2 #B2463B #6BB23B #3BA7B2
split-complementary
#823BB2 #A7B23B #3BB246
monochromatic
#3F1D56 #602C84 #823BB2 #9F60CA #BB8EDA

Accessibility & contrast

On white

6.53
#823BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#823BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823BB2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823BB2#FFFFFF#000000##FFFFFF
##823BB21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#255EAF
Tritanopia (blue-blind)
#7B5471
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #823bb2;
/* rgb */ color: rgb(130, 59, 178);
/* oklch */ color: oklch(50.3% 0.184 308.6);
Tailwind
colors: {
  custom: {
    50: '#aa76ca',
    500: '#823bb2',
    950: '#000000',
  },
}
SCSS
$custom: #823bb2;
$custom-light: #aa76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#823bb2",
  "rgb": {
    "r": 130,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 275.798,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.18433,
    "h": 308.6
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#823BB2
secondary
#9EC485
accent
#DA4E86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #823BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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