#8231C9#8231C9

#8231C9 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.220 H 303.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8231C9
RGBrgb(130, 49, 201)
HSLhsl(272, 61%, 49%)
HSVhsv(272, 76%, 79%)
CMYKcmyk(35.3%, 75.6%, 0%, 21.2%)
CIE-LABlab(39.85, 60.80, -64.24)
CIE-LCHlch(39.85, 88.45, 313.42°)
OKLaboklab(50.89% 0.1213 -0.1831)
OKLCHoklch(50.89% 0.22 303.5)
XYZxyz(20.8444, 11.1595, 56.3029)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231C9 #78C931
analogous
#3631C9 #8231C9 #C931C4
triadic
#8231C9 #C98231 #31C982
tetradic
#8231C9 #C93631 #78C931 #31C4C9
square
#8231C9 #C93631 #78C931 #31C4C9
split-complementary
#8231C9 #C4C931 #31C936
monochromatic
#421967 #622598 #8231C9 #A05FD8 #BD90E4

Accessibility & contrast

On white

6.50
#8231C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8231C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231C9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231C9#FFFFFF#000000##FFFFFF
##8231C91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#74587B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8231c9;
/* rgb */ color: rgb(130, 49, 201);
/* oklch */ color: oklch(50.9% 0.220 303.5);
Tailwind
colors: {
  custom: {
    50: '#ac72da',
    500: '#8231c9',
    950: '#000000',
  },
}
SCSS
$custom: #8231c9;
$custom-light: #ac72da;
$custom-dark: #000000;
JSON
{
  "hex": "#8231c9",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 271.974,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.21962,
    "h": 303.5
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#8231C9
secondary
#A9CF87
accent
#E4448F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8231C9

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

Preview Lab → · Contrast checker → · Palette generator →

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