#8231B0#8231B0

#8231B0 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.195 H 310.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8231B0
RGBrgb(130, 49, 176)
HSLhsl(278, 56%, 44%)
HSVhsv(278, 72%, 69%)
CMYKcmyk(26.1%, 72.2%, 0%, 31%)
CIE-LABlab(37.98, 55.19, -52.58)
CIE-LCHlch(37.98, 76.23, 316.39°)
OKLaboklab(48.99% 0.126 -0.1488)
OKLCHoklch(48.99% 0.195 310.2)
XYZxyz(18.1392, 10.0774, 42.0555)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231B0 #5FB031
analogous
#4331B0 #8231B0 #B0319F
triadic
#8231B0 #B08231 #31B082
tetradic
#8231B0 #B04331 #5FB031 #319FB0
square
#8231B0 #B04331 #5FB031 #319FB0
split-complementary
#8231B0 #9FB031 #31B043
monochromatic
#3B1650 #5F2480 #8231B0 #A150CE #BA80DC

Accessibility & contrast

On white

6.96
#8231B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8231B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231B0
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231B0#FFFFFF#000000##FFFFFF
##8231B01.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#7C4D6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8231b0;
/* rgb */ color: rgb(130, 49, 176);
/* oklch */ color: oklch(49.0% 0.195 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab71c8',
    500: '#8231b0',
    950: '#000000',
  },
}
SCSS
$custom: #8231b0;
$custom-light: #ab71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8231b0",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 278.268,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48985,
    "c": 0.19499,
    "h": 310.2
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#8231B0
secondary
#94C578
accent
#E0487F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8231B0

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

Preview Lab → · Contrast checker → · Palette generator →

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