#8231BC#8231BC

#8231BC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.207 H 306.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8231BC
RGBrgb(130, 49, 188)
HSLhsl(275, 59%, 46%)
HSVhsv(275, 74%, 74%)
CMYKcmyk(30.9%, 73.9%, 0%, 26.3%)
CIE-LABlab(38.85, 57.85, -58.26)
CIE-LCHlch(38.85, 82.10, 314.80°)
OKLaboklab(49.88% 0.124 -0.1655)
OKLCHoklch(49.88% 0.207 306.8)
XYZxyz(19.3794, 10.5735, 48.5872)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231BC #6BBC31
analogous
#3D31BC #8231BC #BC31B1
triadic
#8231BC #BC8231 #31BC82
tetradic
#8231BC #BC3D31 #6BBC31 #31B1BC
square
#8231BC #BC3D31 #6BBC31 #31B1BC
split-complementary
#8231BC #B1BC31 #31BC3D
monochromatic
#3F185B #60248B #8231BC #9F57D3 #BB88E0

Accessibility & contrast

On white

6.74
#8231BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8231BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231BC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231BC#FFFFFF#000000##FFFFFF
##8231BC1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#785274
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8231bc;
/* rgb */ color: rgb(130, 49, 188);
/* oklch */ color: oklch(49.9% 0.207 306.8);
Tailwind
colors: {
  custom: {
    50: '#ab71d1',
    500: '#8231bc',
    950: '#000000',
  },
}
SCSS
$custom: #8231bc;
$custom-light: #ab71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8231bc",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 274.964,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.20681,
    "h": 306.8
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#8231BC
secondary
#9ECA7F
accent
#E24687
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8231BC

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

Preview Lab → · Contrast checker → · Palette generator →

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