#8231B8#8231B8

#8231B8 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.203 H 307.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8231B8
RGBrgb(130, 49, 184)
HSLhsl(276, 58%, 46%)
HSVhsv(276, 73%, 72%)
CMYKcmyk(29.3%, 73.4%, 0%, 27.8%)
CIE-LABlab(38.56, 56.96, -56.38)
CIE-LCHlch(38.56, 80.15, 315.29°)
OKLaboklab(49.58% 0.1247 -0.16)
OKLCHoklch(49.58% 0.203 307.9)
XYZxyz(18.9542, 10.4034, 46.3477)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231B8 #67B831
analogous
#3E31B8 #8231B8 #B831AA
triadic
#8231B8 #B88231 #31B882
tetradic
#8231B8 #B83E31 #67B831 #31AAB8
square
#8231B8 #B83E31 #67B831 #31AAB8
split-complementary
#8231B8 #AAB831 #31B83E
monochromatic
#3E1757 #602488 #8231B8 #A055D2 #BB85DE

Accessibility & contrast

On white

6.82
#8231B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8231B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231B8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231B8#FFFFFF#000000##FFFFFF
##8231B81.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8231b8;
/* rgb */ color: rgb(130, 49, 184);
/* oklch */ color: oklch(49.6% 0.203 307.9);
Tailwind
colors: {
  custom: {
    50: '#ab71ce',
    500: '#8231b8',
    950: '#000000',
  },
}
SCSS
$custom: #8231b8;
$custom-light: #ab71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8231b8",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 276,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.20287,
    "h": 307.9
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#8231B8
secondary
#9BC87D
accent
#E14784
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8231B8

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

Preview Lab → · Contrast checker → · Palette generator →

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