#8231AF#8231AF

#8231AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.194 H 310.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8231AF
RGBrgb(130, 49, 175)
HSLhsl(279, 56%, 44%)
HSVhsv(279, 72%, 69%)
CMYKcmyk(25.7%, 72%, 0%, 31.4%)
CIE-LABlab(37.91, 54.97, -52.10)
CIE-LCHlch(37.91, 75.74, 316.54°)
OKLaboklab(48.91% 0.1261 -0.1474)
OKLCHoklch(48.91% 0.194 310.5)
XYZxyz(18.0406, 10.0380, 41.5363)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231AF #5EAF31
analogous
#4331AF #8231AF #AF319D
triadic
#8231AF #AF8231 #31AF82
tetradic
#8231AF #AF4331 #5EAF31 #319DAF
square
#8231AF #AF4331 #5EAF31 #319DAF
split-complementary
#8231AF #9DAF31 #31AF43
monochromatic
#3B164F #5E247F #8231AF #A14FCE #BA7FDB

Accessibility & contrast

On white

6.98
#8231AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8231AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8231AF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231AF#FFFFFF#000000##FFFFFF
##8231AF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#7C4D6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8231af;
/* rgb */ color: rgb(130, 49, 175);
/* oklch */ color: oklch(48.9% 0.194 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab70c8',
    500: '#8231af',
    950: '#000000',
  },
}
SCSS
$custom: #8231af;
$custom-light: #ab70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8231af",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 278.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.194,
    "h": 310.5
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#8231AF
secondary
#93C478
accent
#E0487E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8231AF

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

Preview Lab → · Contrast checker → · Palette generator →

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