#8231C0#8231C0

#8231C0 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.211 H 305.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8231C0
RGBrgb(130, 49, 192)
HSLhsl(274, 59%, 47%)
HSVhsv(274, 74%, 75%)
CMYKcmyk(32.3%, 74.5%, 0%, 24.7%)
CIE-LABlab(39.15, 58.75, -60.12)
CIE-LCHlch(39.15, 84.06, 314.34°)
OKLaboklab(50.18% 0.1232 -0.171)
OKLCHoklch(50.18% 0.211 305.8)
XYZxyz(19.8166, 10.7484, 50.8896)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231C0 #6FC031
analogous
#3B31C0 #8231C0 #C031B7
triadic
#8231C0 #C08231 #31C082
tetradic
#8231C0 #C03B31 #6FC031 #31B7C0
square
#8231C0 #C03B31 #6FC031 #31B7C0
split-complementary
#8231C0 #B7C031 #31C03B
monochromatic
#40185E #61258F #8231C0 #9F59D5 #BB8AE1

Accessibility & contrast

On white

6.67
#8231C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8231C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231C0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231C0#FFFFFF#000000##FFFFFF
##8231C01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8231c0;
/* rgb */ color: rgb(130, 49, 192);
/* oklch */ color: oklch(50.2% 0.211 305.8);
Tailwind
colors: {
  custom: {
    50: '#ac71d4',
    500: '#8231c0',
    950: '#000000',
  },
}
SCSS
$custom: #8231c0;
$custom-light: #ac71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8231c0",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 273.986,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.21075,
    "h": 305.8
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#8231C0
secondary
#A2CB82
accent
#E34589
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8231C0

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

Preview Lab → · Contrast checker → · Palette generator →

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