#823FA5#823FA5

#823FA5 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.165 H 312.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#823FA5
RGBrgb(130, 63, 165)
HSLhsl(279, 45%, 45%)
HSVhsv(279, 62%, 65%)
CMYKcmyk(21.2%, 61.8%, 0%, 35.3%)
CIE-LABlab(39.61, 46.22, -43.41)
CIE-LCHlch(39.61, 63.41, 316.80°)
OKLaboklab(49.93% 0.1107 -0.122)
OKLCHoklch(49.93% 0.165 312.2)
XYZxyz(17.7737, 11.0179, 36.7804)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823FA5 #62A53F
analogous
#4F3FA5 #823FA5 #A53F95
triadic
#823FA5 #A5823F #3FA582
tetradic
#823FA5 #A54F3F #62A53F #3F95A5
square
#823FA5 #A54F3F #62A53F #3F95A5
split-complementary
#823FA5 #95A53F #3FA54F
monochromatic
#3C1D4C #5F2E79 #823FA5 #A05FC2 #BA8CD3

Accessibility & contrast

On white

6.56
#823FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#823FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823FA5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823FA5#FFFFFF#000000##FFFFFF
##823FA51.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#7E526C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #823fa5;
/* rgb */ color: rgb(130, 63, 165);
/* oklch */ color: oklch(49.9% 0.165 312.2);
Tailwind
colors: {
  custom: {
    50: '#a978c0',
    500: '#823fa5',
    950: '#000000',
  },
}
SCSS
$custom: #823fa5;
$custom-light: #a978c0;
$custom-dark: #000000;
JSON
{
  "hex": "#823fa5",
  "rgb": {
    "r": 130,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 279.412,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.16478,
    "h": 312.2
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#823FA5
secondary
#97BE82
accent
#D45380
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #823FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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