#8231BD#8231BD

#8231BD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.208 H 306.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8231BD
RGBrgb(130, 49, 189)
HSLhsl(275, 59%, 47%)
HSVhsv(275, 74%, 74%)
CMYKcmyk(31.2%, 74.1%, 0%, 25.9%)
CIE-LABlab(38.93, 58.08, -58.73)
CIE-LCHlch(38.93, 82.59, 314.68°)
OKLaboklab(49.95% 0.1238 -0.1669)
OKLCHoklch(49.95% 0.208 306.6)
XYZxyz(19.4875, 10.6168, 49.1569)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231BD #6CBD31
analogous
#3C31BD #8231BD #BD31B2
triadic
#8231BD #BD8231 #31BD82
tetradic
#8231BD #BD3C31 #6CBD31 #31B2BD
square
#8231BD #BD3C31 #6CBD31 #31B2BD
split-complementary
#8231BD #B2BD31 #31BD3C
monochromatic
#3F185C #61248C #8231BD #9F58D4 #BB88E0

Accessibility & contrast

On white

6.72
#8231BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8231BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231BD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231BD#FFFFFF#000000##FFFFFF
##8231BD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#785375
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8231bd;
/* rgb */ color: rgb(130, 49, 189);
/* oklch */ color: oklch(50.0% 0.208 306.6);
Tailwind
colors: {
  custom: {
    50: '#ac71d2',
    500: '#8231bd',
    950: '#000000',
  },
}
SCSS
$custom: #8231bd;
$custom-light: #ac71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8231bd",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 274.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.20779,
    "h": 306.6
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#8231BD
secondary
#9FCA80
accent
#E24688
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8231BD

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

Preview Lab → · Contrast checker → · Palette generator →

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