#8231C2#8231C2

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

Color values

HEX#8231C2
RGBrgb(130, 49, 194)
HSLhsl(274, 60%, 48%)
HSVhsv(274, 75%, 76%)
CMYKcmyk(33%, 74.7%, 0%, 23.9%)
CIE-LABlab(39.31, 59.21, -61.04)
CIE-LCHlch(39.31, 85.04, 314.13°)
OKLaboklab(50.34% 0.1228 -0.1737)
OKLCHoklch(50.34% 0.213 305.3)
XYZxyz(20.0397, 10.8376, 52.0646)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231C2 #71C231
analogous
#3931C2 #8231C2 #C231BA
triadic
#8231C2 #C28231 #31C282
tetradic
#8231C2 #C23931 #71C231 #31BAC2
square
#8231C2 #C23931 #71C231 #31BAC2
split-complementary
#8231C2 #BAC231 #31C239
monochromatic
#411860 #612591 #8231C2 #9F5BD6 #BC8CE2

Accessibility & contrast

On white

6.63
#8231C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8231C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231C2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231C2#FFFFFF#000000##FFFFFF
##8231C21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#765578
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8231c2;
/* rgb */ color: rgb(130, 49, 194);
/* oklch */ color: oklch(50.3% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#ac71d5',
    500: '#8231c2',
    950: '#000000',
  },
}
SCSS
$custom: #8231c2;
$custom-light: #ac71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8231c2",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 273.517,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.21272,
    "h": 305.3
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#8231C2
secondary
#A3CC83
accent
#E3458B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8231C2

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

Preview Lab → · Contrast checker → · Palette generator →

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