#823BAC#823BAC

#823BAC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.178 H 310.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#823BAC
RGBrgb(130, 59, 172)
HSLhsl(278, 49%, 45%)
HSVhsv(278, 66%, 67%)
CMYKcmyk(24.4%, 65.7%, 0%, 32.5%)
CIE-LABlab(39.33, 49.77, -48.03)
CIE-LCHlch(39.33, 69.17, 316.02°)
OKLaboklab(49.86% 0.1154 -0.1355)
OKLCHoklch(49.86% 0.178 310.4)
XYZxyz(18.2149, 10.8527, 40.1570)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823BAC #65AC3B
analogous
#493BAC #823BAC #AC3B9E
triadic
#823BAC #AC823B #3BAC82
tetradic
#823BAC #AC493B #65AC3B #3B9EAC
square
#823BAC #AC493B #65AC3B #3B9EAC
split-complementary
#823BAC #9EAC3B #3BAC49
monochromatic
#3D1C51 #602B7E #823BAC #A05DC7 #BB8AD7

Accessibility & contrast

On white

6.62
#823BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#823BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823BAC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823BAC#FFFFFF#000000##FFFFFF
##823BAC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#2C5EA9
Tritanopia (blue-blind)
#7C526E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #823bac;
/* rgb */ color: rgb(130, 59, 172);
/* oklch */ color: oklch(49.9% 0.178 310.4);
Tailwind
colors: {
  custom: {
    50: '#aa76c5',
    500: '#823bac',
    950: '#000000',
  },
}
SCSS
$custom: #823bac;
$custom-light: #aa76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#823bac",
  "rgb": {
    "r": 130,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 277.699,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.17801,
    "h": 310.4
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#823BAC
secondary
#99C181
accent
#D84F82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #823BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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