#8331AF#8331AF

#8331AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.194 H 311.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8331AF
RGBrgb(131, 49, 175)
HSLhsl(279, 56%, 44%)
HSVhsv(279, 72%, 69%)
CMYKcmyk(25.1%, 72%, 0%, 31.4%)
CIE-LABlab(38.05, 55.18, -51.86)
CIE-LCHlch(38.05, 75.73, 316.77°)
OKLaboklab(49.04% 0.1274 -0.1467)
OKLCHoklch(49.04% 0.194 311)
XYZxyz(18.1948, 10.1175, 41.5435)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331AF #5DAF31
analogous
#4431AF #8331AF #AF319C
triadic
#8331AF #AF8331 #31AF83
tetradic
#8331AF #AF4431 #5DAF31 #319CAF
square
#8331AF #AF4431 #5DAF31 #319CAF
split-complementary
#8331AF #9CAF31 #31AF44
monochromatic
#3B164F #5F247F #8331AF #A24FCE #BB7FDB

Accessibility & contrast

On white

6.95
#8331AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8331AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331AF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331AF#FFFFFF#000000##FFFFFF
##8331AF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#1D5BAC
Tritanopia (blue-blind)
#7D4D6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8331af;
/* rgb */ color: rgb(131, 49, 175);
/* oklch */ color: oklch(49.0% 0.194 311.0);
Tailwind
colors: {
  custom: {
    50: '#ab71c8',
    500: '#8331af',
    950: '#000000',
  },
}
SCSS
$custom: #8331af;
$custom-light: #ab71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8331af",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 279.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.19432,
    "h": 311
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#8331AF
secondary
#92C478
accent
#E0487D
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8331AF

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

Preview Lab → · Contrast checker → · Palette generator →

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