#8131CF#8131CF

#8131CF is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.225 H 301.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8131CF
RGBrgb(129, 49, 207)
HSLhsl(270, 62%, 50%)
HSVhsv(270, 76%, 81%)
CMYKcmyk(37.7%, 76.3%, 0%, 18.8%)
CIE-LABlab(40.19, 62.01, -67.16)
CIE-LCHlch(40.19, 91.41, 312.72°)
OKLaboklab(51.25% 0.1184 -0.1917)
OKLCHoklch(51.25% 0.225 301.7)
XYZxyz(21.4113, 11.3686, 60.0857)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131CF #7FCF31
analogous
#3231CF #8131CF #CF31CE
triadic
#8131CF #CF8131 #31CF81
tetradic
#8131CF #CF3231 #7FCF31 #31CECF
square
#8131CF #CF3231 #7FCF31 #31CECF
split-complementary
#8131CF #CECF31 #31CF32
monochromatic
#43196C #62259E #8131CF #9F63DB #BE94E6

Accessibility & contrast

On white

6.41
#8131CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8131CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131CF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131CF#FFFFFF#000000##FFFFFF
##8131CF1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#705B7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8131cf;
/* rgb */ color: rgb(129, 49, 207);
/* oklch */ color: oklch(51.3% 0.225 301.7);
Tailwind
colors: {
  custom: {
    50: '#ac72df',
    500: '#8131cf',
    950: '#000000',
  },
}
SCSS
$custom: #8131cf;
$custom-light: #ac72df;
$custom-dark: #000000;
JSON
{
  "hex": "#8131cf",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 270.38,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.22535,
    "h": 301.7
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#8131CF
secondary
#ADD18B
accent
#E54393
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8131CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8131CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva