#9152E6#9152E6

#9152E6 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.214 H 299.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9152E6
RGBrgb(145, 82, 230)
HSLhsl(266, 75%, 61%)
HSVhsv(266, 64%, 90%)
CMYKcmyk(37%, 64.3%, 0%, 9.8%)
CIE-LABlab(49.21, 55.42, -65.56)
CIE-LCHlch(49.21, 85.84, 310.21°)
OKLaboklab(58.63% 0.1045 -0.1866)
OKLCHoklch(58.63% 0.214 299.2)
XYZxyz(28.9737, 17.7672, 76.7505)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152E6 #A7E652
analogous
#525DE6 #9152E6 #DB52E6
triadic
#9152E6 #E69152 #52E691
tetradic
#9152E6 #E6525D #A7E652 #52E6DB
square
#9152E6 #E6525D #A7E652 #52E6DB
split-complementary
#9152E6 #E6DB52 #5DE652
monochromatic
#5418A6 #6F20DB #9152E6 #B387EE #D5BDF5

Accessibility & contrast

On white

4.61
#9152E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9152E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9152E6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152E6#FFFFFF#000000##FFFFFF
##9152E61.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#7E7495
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9152e6;
/* rgb */ color: rgb(145, 82, 230);
/* oklch */ color: oklch(58.6% 0.214 299.2);
Tailwind
colors: {
  custom: {
    50: '#b786ef',
    500: '#9152e6',
    950: '#000000',
  },
}
SCSS
$custom: #9152e6;
$custom-light: #b786ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9152e6",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 265.541,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.21392,
    "h": 299.2
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#9152E6
secondary
#CEE6AE
accent
#D70F82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9152E6

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

Preview Lab → · Contrast checker → · Palette generator →

#9152E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva