#9152EE#9152EE

#9152EE is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.223 H 297.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9152EE
RGBrgb(145, 82, 238)
HSLhsl(264, 82%, 63%)
HSVhsv(264, 66%, 93%)
CMYKcmyk(39.1%, 65.5%, 0%, 6.7%)
CIE-LABlab(49.77, 57.41, -69.16)
CIE-LCHlch(49.77, 89.88, 309.69°)
OKLaboklab(59.2% 0.1037 -0.1972)
OKLCHoklch(59.2% 0.223 297.7)
XYZxyz(30.1230, 18.2269, 82.8034)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152EE #AFEE52
analogous
#5261EE #9152EE #DF52EE
triadic
#9152EE #EE9152 #52EE91
tetradic
#9152EE #EE5261 #AFEE52 #52EEDF
square
#9152EE #EE5261 #AFEE52 #52EEDF
split-complementary
#9152EE #EEDF52 #61EE52
monochromatic
#5312B4 #6E1AE9 #9152EE #B48AF3 #D8C1F9

Accessibility & contrast

On white

4.52
#9152EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9152EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9152EE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152EE#FFFFFF#000000##000000
##9152EE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#7A7699
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9152ee;
/* rgb */ color: rgb(145, 82, 238);
/* oklch */ color: oklch(59.2% 0.223 297.7);
Tailwind
colors: {
  custom: {
    50: '#b886f4',
    500: '#9152ee',
    950: '#000000',
  },
}
SCSS
$custom: #9152ee;
$custom-light: #b886f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9152ee",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 264.231,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.22281,
    "h": 297.7
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#9152EE
secondary
#D3EAB2
accent
#DE0787
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #9152EE

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

Preview Lab → · Contrast checker → · Palette generator →

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