#9152DE#9152DE

#9152DE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.205 H 300.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9152DE
RGBrgb(145, 82, 222)
HSLhsl(267, 68%, 60%)
HSVhsv(267, 63%, 87%)
CMYKcmyk(34.7%, 63.1%, 0%, 12.9%)
CIE-LABlab(48.67, 53.45, -61.91)
CIE-LCHlch(48.67, 81.79, 310.81°)
OKLaboklab(58.06% 0.1052 -0.1759)
OKLCHoklch(58.06% 0.205 300.9)
XYZxyz(27.8760, 17.3281, 70.9691)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152DE #9FDE52
analogous
#5259DE #9152DE #D752DE
triadic
#9152DE #DE9152 #52DE91
tetradic
#9152DE #DE5259 #9FDE52 #52DED7
square
#9152DE #DE5259 #9FDE52 #52DED7
split-complementary
#9152DE #DED752 #59DE52
monochromatic
#551D99 #7127CC #9152DE #B285E8 #D2B9F2

Accessibility & contrast

On white

4.70
#9152DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9152DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152DE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152DE#FFFFFF#000000##FFFFFF
##9152DE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#1A73DB
Tritanopia (blue-blind)
#817191
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9152de;
/* rgb */ color: rgb(145, 82, 222);
/* oklch */ color: oklch(58.1% 0.205 300.9);
Tailwind
colors: {
  custom: {
    50: '#b686e9',
    500: '#9152de',
    950: '#000000',
  },
}
SCSS
$custom: #9152de;
$custom-light: #b686e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9152de",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 267,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.20497,
    "h": 300.9
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#9152DE
secondary
#C9E1AB
accent
#EB3D9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9152DE

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

Preview Lab → · Contrast checker → · Palette generator →

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