#8331CF#8331CF

#8331CF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.226 H 302.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8331CF
RGBrgb(131, 49, 207)
HSLhsl(271, 62%, 50%)
HSVhsv(271, 76%, 81%)
CMYKcmyk(36.7%, 76.3%, 0%, 18.8%)
CIE-LABlab(40.45, 62.34, -66.72)
CIE-LCHlch(40.45, 91.32, 313.06°)
OKLaboklab(51.49% 0.1212 -0.1904)
OKLCHoklch(51.49% 0.226 302.5)
XYZxyz(21.7182, 11.5269, 60.1001)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331CF #7DCF31
analogous
#3431CF #8331CF #CF31CC
triadic
#8331CF #CF8331 #31CF83
tetradic
#8331CF #CF3431 #7DCF31 #31CCCF
square
#8331CF #CF3431 #7DCF31 #31CCCF
split-complementary
#8331CF #CCCF31 #31CF34
monochromatic
#44196C #64259E #8331CF #A163DB #BF94E6

Accessibility & contrast

On white

6.35
#8331CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8331CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331CF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331CF#FFFFFF#000000##FFFFFF
##8331CF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#735A7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8331cf;
/* rgb */ color: rgb(131, 49, 207);
/* oklch */ color: oklch(51.5% 0.226 302.5);
Tailwind
colors: {
  custom: {
    50: '#ae72df',
    500: '#8331cf',
    950: '#000000',
  },
}
SCSS
$custom: #8331cf;
$custom-light: #ae72df;
$custom-dark: #000000;
JSON
{
  "hex": "#8331cf",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 271.139,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.2257,
    "h": 302.5
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8331CF

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

Preview Lab → · Contrast checker → · Palette generator →

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