#8231C5#8231C5

#8231C5 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.216 H 304.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8231C5
RGBrgb(130, 49, 197)
HSLhsl(273, 60%, 48%)
HSVhsv(273, 75%, 77%)
CMYKcmyk(34%, 75.1%, 0%, 22.7%)
CIE-LABlab(39.54, 59.89, -62.42)
CIE-LCHlch(39.54, 86.50, 313.81°)
OKLaboklab(50.57% 0.1221 -0.1778)
OKLCHoklch(50.57% 0.216 304.5)
XYZxyz(20.3800, 10.9738, 53.8570)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231C5 #74C531
analogous
#3831C5 #8231C5 #C531BE
triadic
#8231C5 #C58231 #31C582
tetradic
#8231C5 #C53831 #74C531 #31BEC5
square
#8231C5 #C53831 #74C531 #31BEC5
split-complementary
#8231C5 #BEC531 #31C538
monochromatic
#411963 #622594 #8231C5 #9F5DD7 #BC8EE3

Accessibility & contrast

On white

6.57
#8231C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8231C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231C5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231C5#FFFFFF#000000##FFFFFF
##8231C51.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#755679
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8231c5;
/* rgb */ color: rgb(130, 49, 197);
/* oklch */ color: oklch(50.6% 0.216 304.5);
Tailwind
colors: {
  custom: {
    50: '#ac71d8',
    500: '#8231c5',
    950: '#000000',
  },
}
SCSS
$custom: #8231c5;
$custom-light: #ac71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8231c5",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 272.838,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.21568,
    "h": 304.5
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#8231C5
secondary
#A5CD85
accent
#E3448C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8231C5

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

Preview Lab → · Contrast checker → · Palette generator →

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