#823CB2#823CB2

#823CB2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.183 H 308.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#823CB2
RGBrgb(130, 60, 178)
HSLhsl(276, 50%, 47%)
HSVhsv(276, 66%, 70%)
CMYKcmyk(27%, 66.3%, 0%, 30.2%)
CIE-LABlab(39.90, 50.65, -50.67)
CIE-LCHlch(39.90, 71.65, 314.99°)
OKLaboklab(50.4% 0.1138 -0.1433)
OKLCHoklch(50.4% 0.183 308.5)
XYZxyz(18.8560, 11.1922, 43.2778)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823CB2 #6CB23C
analogous
#473CB2 #823CB2 #B23CA7
triadic
#823CB2 #B2823C #3CB282
tetradic
#823CB2 #B2473C #6CB23C #3CA7B2
square
#823CB2 #B2473C #6CB23C #3CA7B2
split-complementary
#823CB2 #A7B23C #3CB247
monochromatic
#3F1D56 #612D84 #823CB2 #9F61CA #BB8FD9

Accessibility & contrast

On white

6.48
#823CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#823CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823CB2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823CB2#FFFFFF#000000##FFFFFF
##823CB21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#265FAF
Tritanopia (blue-blind)
#7B5572
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #823cb2;
/* rgb */ color: rgb(130, 60, 178);
/* oklch */ color: oklch(50.4% 0.183 308.5);
Tailwind
colors: {
  custom: {
    50: '#aa77ca',
    500: '#823cb2',
    950: '#000000',
  },
}
SCSS
$custom: #823cb2;
$custom-light: #aa77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#823cb2",
  "rgb": {
    "r": 130,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 275.593,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.18298,
    "h": 308.5
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#823CB2
secondary
#9FC486
accent
#D94F87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #823CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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