#8231C8#8231C8

#8231C8 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.219 H 303.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8231C8
RGBrgb(130, 49, 200)
HSLhsl(272, 61%, 49%)
HSVhsv(272, 76%, 78%)
CMYKcmyk(35%, 75.5%, 0%, 21.6%)
CIE-LABlab(39.77, 60.57, -63.79)
CIE-LCHlch(39.77, 87.96, 313.52°)
OKLaboklab(50.81% 0.1215 -0.1818)
OKLCHoklch(50.81% 0.219 303.8)
XYZxyz(20.7271, 11.1126, 55.6854)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231C8 #77C831
analogous
#3631C8 #8231C8 #C831C3
triadic
#8231C8 #C88231 #31C882
tetradic
#8231C8 #C83631 #77C831 #31C3C8
square
#8231C8 #C83631 #77C831 #31C3C8
split-complementary
#8231C8 #C3C831 #31C836
monochromatic
#421966 #622597 #8231C8 #A05FD8 #BD90E4

Accessibility & contrast

On white

6.52
#8231C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8231C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231C8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231C8#FFFFFF#000000##FFFFFF
##8231C81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#74577B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8231c8;
/* rgb */ color: rgb(130, 49, 200);
/* oklch */ color: oklch(50.8% 0.219 303.8);
Tailwind
colors: {
  custom: {
    50: '#ac72da',
    500: '#8231c8',
    950: '#000000',
  },
}
SCSS
$custom: #8231c8;
$custom-light: #ac72da;
$custom-dark: #000000;
JSON
{
  "hex": "#8231c8",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 272.185,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.21863,
    "h": 303.8
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#8231C8
secondary
#A8CE86
accent
#E4448E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8231C8

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

Preview Lab → · Contrast checker → · Palette generator →

#8231C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva