#9452BB#9452BB

#9452BB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.166 H 311.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9452BB
RGBrgb(148, 82, 187)
HSLhsl(278, 44%, 53%)
HSVhsv(278, 56%, 73%)
CMYKcmyk(20.9%, 56.1%, 0%, 26.7%)
CIE-LABlab(46.87, 45.91, -44.66)
CIE-LCHlch(46.87, 64.06, 315.79°)
OKLaboklab(56.14% 0.1096 -0.1253)
OKLCHoklch(56.14% 0.166 311.2)
XYZxyz(24.1980, 15.9189, 48.8020)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452BB #79BB52
analogous
#5F52BB #9452BB #BB52AD
triadic
#9452BB #BB9452 #52BB94
tetradic
#9452BB #BB5F52 #79BB52 #52ADBB
square
#9452BB #BB5F52 #79BB52 #52ADBB
split-complementary
#9452BB #ADBB52 #52BB5F
monochromatic
#522969 #743B95 #9452BB #AF7ECC #CAAADE

Accessibility & contrast

On white

5.02
#9452BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9452BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9452BB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452BB#FFFFFF#000000##FFFFFF
##9452BB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#8F647F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9452bb;
/* rgb */ color: rgb(148, 82, 187);
/* oklch */ color: oklch(56.1% 0.166 311.2);
Tailwind
colors: {
  custom: {
    50: '#b685d0',
    500: '#9452bb',
    950: '#000000',
  },
}
SCSS
$custom: #9452bb;
$custom-light: #b685d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9452bb",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 277.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.16645,
    "h": 311.2
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#9452BB
secondary
#AFCB9E
accent
#D35484
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9452BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9452BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva