#8231C1#8231C1

#8231C1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.212 H 305.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8231C1
RGBrgb(130, 49, 193)
HSLhsl(274, 60%, 47%)
HSVhsv(274, 75%, 76%)
CMYKcmyk(32.6%, 74.6%, 0%, 24.3%)
CIE-LABlab(39.23, 58.98, -60.58)
CIE-LCHlch(39.23, 84.55, 314.23°)
OKLaboklab(50.26% 0.123 -0.1724)
OKLCHoklch(50.26% 0.212 305.5)
XYZxyz(19.9277, 10.7929, 51.4751)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231C1 #70C131
analogous
#3A31C1 #8231C1 #C131B8
triadic
#8231C1 #C18231 #31C182
tetradic
#8231C1 #C13A31 #70C131 #31B8C1
square
#8231C1 #C13A31 #70C131 #31B8C1
split-complementary
#8231C1 #B8C131 #31C13A
monochromatic
#40185F #612590 #8231C1 #9F5AD5 #BC8BE2

Accessibility & contrast

On white

6.65
#8231C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8231C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231C1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231C1#FFFFFF#000000##FFFFFF
##8231C11.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#765577
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8231c1;
/* rgb */ color: rgb(130, 49, 193);
/* oklch */ color: oklch(50.3% 0.212 305.5);
Tailwind
colors: {
  custom: {
    50: '#ac71d5',
    500: '#8231c1',
    950: '#000000',
  },
}
SCSS
$custom: #8231c1;
$custom-light: #ac71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8231c1",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 273.75,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50262,
    "c": 0.21174,
    "h": 305.5
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#8231C1
secondary
#A2CC82
accent
#E3458A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8231C1

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

Preview Lab → · Contrast checker → · Palette generator →

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