#823EB8#823EB8

#823EB8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.187 H 306.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#823EB8
RGBrgb(130, 62, 184)
HSLhsl(273, 50%, 48%)
HSVhsv(273, 66%, 72%)
CMYKcmyk(29.3%, 66.3%, 0%, 27.8%)
CIE-LABlab(40.66, 51.08, -52.99)
CIE-LCHlch(40.66, 73.60, 313.95°)
OKLaboklab(51.07% 0.111 -0.1501)
OKLCHoklch(51.07% 0.187 306.5)
XYZxyz(19.5784, 11.6520, 46.5557)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823EB8 #74B83E
analogous
#453EB8 #823EB8 #B83EB1
triadic
#823EB8 #B8823E #3EB882
tetradic
#823EB8 #B8453E #74B83E #3EB1B8
square
#823EB8 #B8453E #74B83E #3EB1B8
split-complementary
#823EB8 #B1B83E #3EB845
monochromatic
#411F5C #622F8A #823EB8 #9F67CC #BC95DB

Accessibility & contrast

On white

6.31
#823EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#823EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823EB8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823EB8#FFFFFF#000000##FFFFFF
##823EB81.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#795876
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #823eb8;
/* rgb */ color: rgb(130, 62, 184);
/* oklch */ color: oklch(51.1% 0.187 306.5);
Tailwind
colors: {
  custom: {
    50: '#aa78ce',
    500: '#823eb8',
    950: '#000000',
  },
}
SCSS
$custom: #823eb8;
$custom-light: #aa78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#823eb8",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 273.443,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.1867,
    "h": 306.5
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#823EB8
secondary
#A5C78B
accent
#D94F8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #823EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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