#8231B7#8231B7

#8231B7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.202 H 308.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8231B7
RGBrgb(130, 49, 183)
HSLhsl(276, 58%, 45%)
HSVhsv(276, 73%, 72%)
CMYKcmyk(29%, 73.2%, 0%, 28.2%)
CIE-LABlab(38.48, 56.74, -55.91)
CIE-LCHlch(38.48, 79.66, 315.42°)
OKLaboklab(49.5% 0.1249 -0.1586)
OKLCHoklch(49.5% 0.202 308.2)
XYZxyz(18.8497, 10.3616, 45.7976)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231B7 #66B731
analogous
#3F31B7 #8231B7 #B731A9
triadic
#8231B7 #B78231 #31B782
tetradic
#8231B7 #B73F31 #66B731 #31A9B7
square
#8231B7 #B73F31 #66B731 #31A9B7
split-complementary
#8231B7 #A9B731 #31B73F
monochromatic
#3D1756 #602487 #8231B7 #A054D1 #BB84DE

Accessibility & contrast

On white

6.84
#8231B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8231B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231B7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231B7#FFFFFF#000000##FFFFFF
##8231B71.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#025BB4
Tritanopia (blue-blind)
#7A5071
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8231b7;
/* rgb */ color: rgb(130, 49, 183);
/* oklch */ color: oklch(49.5% 0.202 308.2);
Tailwind
colors: {
  custom: {
    50: '#ab71cd',
    500: '#8231b7',
    950: '#000000',
  },
}
SCSS
$custom: #8231b7;
$custom-light: #ab71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8231b7",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 276.269,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49501,
    "c": 0.20188,
    "h": 308.2
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#8231B7
secondary
#9AC87C
accent
#E14784
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8231B7

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

Preview Lab → · Contrast checker → · Palette generator →

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