#8231B9#8231B9

#8231B9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.204 H 307.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8231B9
RGBrgb(130, 49, 185)
HSLhsl(276, 58%, 46%)
HSVhsv(276, 74%, 73%)
CMYKcmyk(29.7%, 73.5%, 0%, 27.5%)
CIE-LABlab(38.63, 57.18, -56.85)
CIE-LCHlch(38.63, 80.64, 315.16°)
OKLaboklab(49.65% 0.1245 -0.1614)
OKLCHoklch(49.65% 0.204 307.6)
XYZxyz(19.0593, 10.4455, 46.9017)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231B9 #68B931
analogous
#3E31B9 #8231B9 #B931AC
triadic
#8231B9 #B98231 #31B982
tetradic
#8231B9 #B93E31 #68B931 #31ACB9
square
#8231B9 #B93E31 #68B931 #31ACB9
split-complementary
#8231B9 #ACB931 #31B93E
monochromatic
#3E1758 #602489 #8231B9 #A055D2 #BB86DF

Accessibility & contrast

On white

6.80
#8231B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8231B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231B9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231B9#FFFFFF#000000##FFFFFF
##8231B91.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#795172
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8231b9;
/* rgb */ color: rgb(130, 49, 185);
/* oklch */ color: oklch(49.7% 0.204 307.6);
Tailwind
colors: {
  custom: {
    50: '#ab71cf',
    500: '#8231b9',
    950: '#000000',
  },
}
SCSS
$custom: #8231b9;
$custom-light: #ab71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8231b9",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 275.735,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.20385,
    "h": 307.6
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#8231B9
secondary
#9CC87D
accent
#E14685
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8231B9

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

Preview Lab → · Contrast checker → · Palette generator →

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