#8231C7#8231C7

#8231C7 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.218 H 304.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8231C7
RGBrgb(130, 49, 199)
HSLhsl(272, 60%, 49%)
HSVhsv(272, 75%, 78%)
CMYKcmyk(34.7%, 75.4%, 0%, 22%)
CIE-LABlab(39.69, 60.34, -63.33)
CIE-LCHlch(39.69, 87.48, 313.62°)
OKLaboklab(50.73% 0.1217 -0.1804)
OKLCHoklch(50.73% 0.218 304)
XYZxyz(20.6107, 11.0660, 55.0719)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231C7 #76C731
analogous
#3731C7 #8231C7 #C731C1
triadic
#8231C7 #C78231 #31C782
tetradic
#8231C7 #C73731 #76C731 #31C1C7
square
#8231C7 #C73731 #76C731 #31C1C7
split-complementary
#8231C7 #C1C731 #31C737
monochromatic
#421965 #622596 #8231C7 #9F5ED7 #BD8FE3

Accessibility & contrast

On white

6.54
#8231C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8231C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231C7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231C7#FFFFFF#000000##FFFFFF
##8231C71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#74577A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8231c7;
/* rgb */ color: rgb(130, 49, 199);
/* oklch */ color: oklch(50.7% 0.218 304.0);
Tailwind
colors: {
  custom: {
    50: '#ac71d9',
    500: '#8231c7',
    950: '#000000',
  },
}
SCSS
$custom: #8231c7;
$custom-light: #ac71d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8231c7",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 272.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50731,
    "c": 0.21765,
    "h": 304
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#8231C7
secondary
#A7CE86
accent
#E4448E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8231C7

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

Preview Lab → · Contrast checker → · Palette generator →

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