#9152DB#9152DB

#9152DB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.202 H 301.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9152DB
RGBrgb(145, 82, 219)
HSLhsl(268, 66%, 59%)
HSVhsv(268, 63%, 86%)
CMYKcmyk(33.8%, 62.6%, 0%, 14.1%)
CIE-LABlab(48.47, 52.71, -60.52)
CIE-LCHlch(48.47, 80.26, 311.06°)
OKLaboklab(57.86% 0.1054 -0.1718)
OKLCHoklch(57.86% 0.202 301.5)
XYZxyz(27.4775, 17.1687, 68.8704)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152DB #9CDB52
analogous
#5258DB #9152DB #D552DB
triadic
#9152DB #DB9152 #52DB91
tetradic
#9152DB #DB5258 #9CDB52 #52DBD5
square
#9152DB #DB5258 #9CDB52 #52DBD5
split-complementary
#9152DB #DBD552 #58DB52
monochromatic
#551F94 #7229C6 #9152DB #B185E6 #D1B7F0

Accessibility & contrast

On white

4.74
#9152DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9152DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152DB#FFFFFF#000000##FFFFFF
##9152DB1.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)
#0072DF
Deuteranopia (green-blind)
#2172D8
Tritanopia (blue-blind)
#82708F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9152db;
/* rgb */ color: rgb(145, 82, 219);
/* oklch */ color: oklch(57.9% 0.202 301.5);
Tailwind
colors: {
  custom: {
    50: '#b686e7',
    500: '#9152db',
    950: '#000000',
  },
}
SCSS
$custom: #9152db;
$custom-light: #b686e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9152db",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 267.591,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.20159,
    "h": 301.5
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#9152DB
secondary
#C7DFAA
accent
#E93F9B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9152DB

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

Preview Lab → · Contrast checker → · Palette generator →

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