#9152E0#9152E0

#9152E0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.207 H 300.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9152E0
RGBrgb(145, 82, 224)
HSLhsl(267, 70%, 60%)
HSVhsv(267, 63%, 88%)
CMYKcmyk(35.3%, 63.4%, 0%, 12.2%)
CIE-LABlab(48.80, 53.94, -62.82)
CIE-LCHlch(48.80, 82.80, 310.65°)
OKLaboklab(58.2% 0.105 -0.1786)
OKLCHoklch(58.2% 0.207 300.5)
XYZxyz(28.1456, 17.4359, 72.3892)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152E0 #A1E052
analogous
#525AE0 #9152E0 #D852E0
triadic
#9152E0 #E09152 #52E091
tetradic
#9152E0 #E0525A #A1E052 #52E0D8
square
#9152E0 #E0525A #A1E052 #52E0D8
split-complementary
#9152E0 #E0D852 #5AE052
monochromatic
#551C9C #7125D0 #9152E0 #B286E9 #D3BAF3

Accessibility & contrast

On white

4.68
#9152E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9152E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152E0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152E0#FFFFFF#000000##FFFFFF
##9152E01.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#1373DD
Tritanopia (blue-blind)
#807192
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9152e0;
/* rgb */ color: rgb(145, 82, 224);
/* oklch */ color: oklch(58.2% 0.207 300.5);
Tailwind
colors: {
  custom: {
    50: '#b686ea',
    500: '#9152e0',
    950: '#000000',
  },
}
SCSS
$custom: #9152e0;
$custom-light: #b686ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9152e0",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 266.62,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.20721,
    "h": 300.5
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#9152E0
secondary
#CAE2AC
accent
#EC3B9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9152E0

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

Preview Lab → · Contrast checker → · Palette generator →

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