#8152F3#8152F3

#8152F3 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.228 H 291.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8152F3
RGBrgb(129, 82, 243)
HSLhsl(258, 87%, 64%)
HSVhsv(258, 66%, 95%)
CMYKcmyk(46.9%, 66.3%, 0%, 4.7%)
CIE-LABlab(48.48, 55.74, -74.14)
CIE-LCHlch(48.48, 92.76, 306.94°)
OKLaboklab(58.01% 0.0816 -0.2124)
OKLCHoklch(58.01% 0.228 291)
XYZxyz(28.2437, 17.1717, 86.6030)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152F3 #C4F352
analogous
#5273F3 #8152F3 #D252F3
triadic
#8152F3 #F38152 #52F381
tetradic
#8152F3 #F35273 #C4F352 #52F3D2
square
#8152F3 #F35273 #C4F352 #52F3D2
split-complementary
#8152F3 #F3D252 #73F352
monochromatic
#410DBD #5719EF #8152F3 #AB8BF7 #D4C4FB

Accessibility & contrast

On white

4.74
#8152F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8152F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152F3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152F3#FFFFFF#000000##FFFFFF
##8152F31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#5D7A9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8152f3;
/* rgb */ color: rgb(129, 82, 243);
/* oklch */ color: oklch(58.0% 0.228 291.0);
Tailwind
colors: {
  custom: {
    50: '#ae86f8',
    500: '#8152f3',
    950: '#000000',
  },
}
SCSS
$custom: #8152f3;
$custom-light: #ae86f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8152f3",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 257.516,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.22753,
    "h": 291
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#8152F3
secondary
#DCEDB4
accent
#E402A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8152F3

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

Preview Lab → · Contrast checker → · Palette generator →

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