#8152FF#8152FF

#8152FF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.241 H 289.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8152FF
RGBrgb(129, 82, 255)
HSLhsl(256, 100%, 66%)
HSVhsv(256, 68%, 100%)
CMYKcmyk(49.4%, 67.8%, 0%, 0%)
CIE-LABlab(49.40, 58.97, -79.33)
CIE-LCHlch(49.40, 98.85, 306.63°)
OKLaboklab(58.96% 0.0798 -0.2276)
OKLCHoklch(58.96% 0.241 289.3)
XYZxyz(30.1153, 17.9204, 96.4605)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152FF #D0FF52
analogous
#5279FF #8152FF #D852FF
triadic
#8152FF #FF8152 #52FF81
tetradic
#8152FF #FF5279 #D0FF52 #52FFD8
square
#8152FF #FF5279 #D0FF52 #52FFD8
split-complementary
#8152FF #FFD852 #79FF52
monochromatic
#3A00D7 #5415FF #8152FF #AE8FFF #DACCFF

Accessibility & contrast

On white

4.58
#8152FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8152FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8152FF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152FF#FFFFFF#000000##000000
##8152FF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0071FC
Tritanopia (blue-blind)
#557EA2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8152ff;
/* rgb */ color: rgb(129, 82, 255);
/* oklch */ color: oklch(59.0% 0.241 289.3);
Tailwind
colors: {
  custom: {
    50: '#b086ff',
    500: '#8152ff',
    950: '#000000',
  },
}
SCSS
$custom: #8152ff;
$custom-light: #b086ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8152ff",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 256.301,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.24121,
    "h": 289.3
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#8152FF
secondary
#E3F3BA
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8152FF

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

Preview Lab → · Contrast checker → · Palette generator →

#8152FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva