#9452D2#9452D2

#9452D2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.192 H 304.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9452D2
RGBrgb(148, 82, 210)
HSLhsl(271, 59%, 57%)
HSVhsv(271, 61%, 82%)
CMYKcmyk(29.5%, 61%, 0%, 17.6%)
CIE-LABlab(48.24, 51.22, -55.74)
CIE-LCHlch(48.24, 75.70, 312.58°)
OKLaboklab(57.58% 0.1098 -0.1577)
OKLCHoklch(57.58% 0.192 304.8)
XYZxyz(26.8603, 16.9838, 62.8234)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452D2 #90D252
analogous
#5452D2 #9452D2 #D252D0
triadic
#9452D2 #D29452 #52D294
tetradic
#9452D2 #D25452 #90D252 #52D0D2
square
#9452D2 #D25452 #90D252 #52D0D2
split-complementary
#9452D2 #D0D252 #52D254
monochromatic
#562387 #7630B7 #9452D2 #B283DF #D0B3EB

Accessibility & contrast

On white

4.78
#9452D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9452D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9452D2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452D2#FFFFFF#000000##FFFFFF
##9452D21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0671D6
Deuteranopia (green-blind)
#3473CF
Tritanopia (blue-blind)
#896C8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9452d2;
/* rgb */ color: rgb(148, 82, 210);
/* oklch */ color: oklch(57.6% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#b786e0',
    500: '#9452d2',
    950: '#000000',
  },
}
SCSS
$custom: #9452d2;
$custom-light: #b786e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9452d2",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 270.938,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.19215,
    "h": 304.8
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#9452D2
secondary
#BFDAA6
accent
#E24691
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9452D2

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

Preview Lab → · Contrast checker → · Palette generator →

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