#823FC2#823FC2

#823FC2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.196 H 303.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#823FC2
RGBrgb(130, 63, 194)
HSLhsl(271, 52%, 50%)
HSVhsv(271, 68%, 76%)
CMYKcmyk(33%, 67.5%, 0%, 23.9%)
CIE-LABlab(41.53, 52.96, -57.44)
CIE-LCHlch(41.53, 78.13, 312.68°)
OKLaboklab(51.92% 0.1088 -0.1632)
OKLCHoklch(51.92% 0.196 303.7)
XYZxyz(20.7188, 12.1959, 52.2910)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823FC2 #7FC23F
analogous
#403FC2 #823FC2 #C23FC1
triadic
#823FC2 #C2823F #3FC282
tetradic
#823FC2 #C2403F #7FC23F #3FC1C2
square
#823FC2 #C2403F #7FC23F #3FC1C2
split-complementary
#823FC2 #C1C23F #3FC240
monochromatic
#442066 #632F95 #823FC2 #A06DD1 #BE9CE0

Accessibility & contrast

On white

6.11
#823FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#823FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823FC2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823FC2#FFFFFF#000000##FFFFFF
##823FC21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0662BF
Tritanopia (blue-blind)
#765D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #823fc2;
/* rgb */ color: rgb(130, 63, 194);
/* oklch */ color: oklch(51.9% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#ab79d5',
    500: '#823fc2',
    950: '#000000',
  },
}
SCSS
$custom: #823fc2;
$custom-light: #ab79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#823fc2",
  "rgb": {
    "r": 130,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 270.687,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.19617,
    "h": 303.7
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#823FC2
secondary
#AECC91
accent
#DB4D92
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #823FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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