#8231B3#8231B3

#8231B3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.198 H 309.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8231B3
RGBrgb(130, 49, 179)
HSLhsl(277, 57%, 45%)
HSVhsv(277, 73%, 70%)
CMYKcmyk(27.4%, 72.6%, 0%, 29.8%)
CIE-LABlab(38.19, 55.85, -54.02)
CIE-LCHlch(38.19, 77.70, 315.96°)
OKLaboklab(49.21% 0.1255 -0.1531)
OKLCHoklch(49.21% 0.198 309.4)
XYZxyz(18.4393, 10.1975, 43.6360)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231B3 #62B331
analogous
#4131B3 #8231B3 #B331A3
triadic
#8231B3 #B38231 #31B382
tetradic
#8231B3 #B34131 #62B331 #31A3B3
square
#8231B3 #B34131 #62B331 #31A3B3
split-complementary
#8231B3 #A3B331 #31B341
monochromatic
#3C1753 #5F2483 #8231B3 #A052D0 #BA82DD

Accessibility & contrast

On white

6.91
#8231B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8231B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231B3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231B3#FFFFFF#000000##FFFFFF
##8231B31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#115BB0
Tritanopia (blue-blind)
#7B4F6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8231b3;
/* rgb */ color: rgb(130, 49, 179);
/* oklch */ color: oklch(49.2% 0.198 309.4);
Tailwind
colors: {
  custom: {
    50: '#ab71cb',
    500: '#8231b3',
    950: '#000000',
  },
}
SCSS
$custom: #8231b3;
$custom-light: #ab71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8231b3",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 277.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.19794,
    "h": 309.4
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#8231B3
secondary
#97C67A
accent
#E04881
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8231B3

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

Preview Lab → · Contrast checker → · Palette generator →

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