#8231BF#8231BF

#8231BF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.210 H 306.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8231BF
RGBrgb(130, 49, 191)
HSLhsl(274, 59%, 47%)
HSVhsv(274, 74%, 75%)
CMYKcmyk(31.9%, 74.3%, 0%, 25.1%)
CIE-LABlab(39.08, 58.53, -59.65)
CIE-LCHlch(39.08, 83.57, 314.45°)
OKLaboklab(50.11% 0.1234 -0.1696)
OKLCHoklch(50.11% 0.21 306)
XYZxyz(19.7061, 10.7042, 50.3081)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231BF #6EBF31
analogous
#3B31BF #8231BF #BF31B5
triadic
#8231BF #BF8231 #31BF82
tetradic
#8231BF #BF3B31 #6EBF31 #31B5BF
square
#8231BF #BF3B31 #6EBF31 #31B5BF
split-complementary
#8231BF #B5BF31 #31BF3B
monochromatic
#40185E #61258E #8231BF #9F59D4 #BB8AE1

Accessibility & contrast

On white

6.69
#8231BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8231BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231BF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231BF#FFFFFF#000000##FFFFFF
##8231BF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#775476
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8231bf;
/* rgb */ color: rgb(130, 49, 191);
/* oklch */ color: oklch(50.1% 0.210 306.0);
Tailwind
colors: {
  custom: {
    50: '#ac71d3',
    500: '#8231bf',
    950: '#000000',
  },
}
SCSS
$custom: #8231bf;
$custom-light: #ac71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8231bf",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 274.225,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.20976,
    "h": 306
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#8231BF
secondary
#A1CB81
accent
#E24589
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8231BF

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

Preview Lab → · Contrast checker → · Palette generator →

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