#9452DB#9452DB

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

Color values

HEX#9452DB
RGBrgb(148, 82, 219)
HSLhsl(269, 66%, 59%)
HSVhsv(269, 63%, 86%)
CMYKcmyk(32.4%, 62.6%, 0%, 14.1%)
CIE-LABlab(48.82, 53.37, -59.95)
CIE-LCHlch(48.82, 80.26, 311.68°)
OKLaboklab(58.18% 0.1093 -0.1701)
OKLCHoklch(58.18% 0.202 302.7)
XYZxyz(28.0133, 17.4449, 68.8955)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452DB #99DB52
analogous
#5255DB #9452DB #D852DB
triadic
#9452DB #DB9452 #52DB94
tetradic
#9452DB #DB5255 #99DB52 #52DBD8
square
#9452DB #DB5255 #99DB52 #52DBD8
split-complementary
#9452DB #DBD852 #55DB52
monochromatic
#571F94 #7529C6 #9452DB #B385E6 #D3B7F0

Accessibility & contrast

On white

4.68
#9452DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9452DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9452DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452DB#FFFFFF#000000##FFFFFF
##9452DB1.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)
#0073DF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#866F8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9452db;
/* rgb */ color: rgb(148, 82, 219);
/* oklch */ color: oklch(58.2% 0.202 302.7);
Tailwind
colors: {
  custom: {
    50: '#b886e7',
    500: '#9452db',
    950: '#000000',
  },
}
SCSS
$custom: #9452db;
$custom-light: #b886e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9452db",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 268.905,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.20218,
    "h": 302.7
  },
  "luminance": 0.17445
}

Semantic roles & 50–950 ramp

primary
#9452DB
secondary
#C5DFAA
accent
#E93F97
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9452DB

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

Preview Lab → · Contrast checker → · Palette generator →

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