#9452DC#9452DC

#9452DC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.203 H 302.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9452DC
RGBrgb(148, 82, 220)
HSLhsl(269, 66%, 59%)
HSVhsv(269, 63%, 86%)
CMYKcmyk(32.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(48.88, 53.61, -60.41)
CIE-LCHlch(48.88, 80.77, 311.58°)
OKLaboklab(58.25% 0.1093 -0.1714)
OKLCHoklch(58.25% 0.203 302.5)
XYZxyz(28.1453, 17.4978, 69.5909)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452DC #9ADC52
analogous
#5255DC #9452DC #D952DC
triadic
#9452DC #DC9452 #52DC94
tetradic
#9452DC #DC5255 #9ADC52 #52DCD9
square
#9452DC #DC5255 #9ADC52 #52DCD9
split-complementary
#9452DC #DCD952 #55DC52
monochromatic
#571E95 #7529C8 #9452DC #B385E6 #D3B8F1

Accessibility & contrast

On white

4.67
#9452DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9452DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9452DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452DC#FFFFFF#000000##FFFFFF
##9452DC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#867090
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9452dc;
/* rgb */ color: rgb(148, 82, 220);
/* oklch */ color: oklch(58.3% 0.203 302.5);
Tailwind
colors: {
  custom: {
    50: '#b886e8',
    500: '#9452dc',
    950: '#000000',
  },
}
SCSS
$custom: #9452dc;
$custom-light: #b886e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9452dc",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 268.696,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.20329,
    "h": 302.5
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#9452DC
secondary
#C6E0AA
accent
#E93F98
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9452DC

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

Preview Lab → · Contrast checker → · Palette generator →

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