#8231B1#8231B1

#8231B1 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.1% C 0.196 H 309.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8231B1
RGBrgb(130, 49, 177)
HSLhsl(278, 57%, 44%)
HSVhsv(278, 72%, 69%)
CMYKcmyk(26.6%, 72.3%, 0%, 30.6%)
CIE-LABlab(38.05, 55.41, -53.06)
CIE-LCHlch(38.05, 76.72, 316.24°)
OKLaboklab(49.06% 0.1258 -0.1503)
OKLCHoklch(49.06% 0.196 309.9)
XYZxyz(18.2385, 10.1172, 42.5785)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231B1 #60B131
analogous
#4231B1 #8231B1 #B131A0
triadic
#8231B1 #B18231 #31B182
tetradic
#8231B1 #B14231 #60B131 #31A0B1
square
#8231B1 #B14231 #60B131 #31A0B1
split-complementary
#8231B1 #A0B131 #31B142
monochromatic
#3C1651 #5F2481 #8231B1 #A051CF #BA80DC

Accessibility & contrast

On white

6.95
#8231B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8231B1
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231B1#FFFFFF#000000##FFFFFF
##8231B11.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#165BAE
Tritanopia (blue-blind)
#7B4E6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8231b1;
/* rgb */ color: rgb(130, 49, 177);
/* oklch */ color: oklch(49.1% 0.196 309.9);
Tailwind
colors: {
  custom: {
    50: '#ab71c9',
    500: '#8231b1',
    950: '#000000',
  },
}
SCSS
$custom: #8231b1;
$custom-light: #ab71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8231b1",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 277.969,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.19598,
    "h": 309.9
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#8231B1
secondary
#95C579
accent
#E04880
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8231B1

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

Preview Lab → · Contrast checker → · Palette generator →

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