#9452E2#9452E2

#9452E2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.210 H 301.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9452E2
RGBrgb(148, 82, 226)
HSLhsl(268, 71%, 60%)
HSVhsv(268, 64%, 89%)
CMYKcmyk(34.5%, 63.7%, 0%, 11.4%)
CIE-LABlab(49.28, 55.06, -63.17)
CIE-LCHlch(49.28, 83.80, 311.07°)
OKLaboklab(58.66% 0.1088 -0.1795)
OKLCHoklch(58.66% 0.21 301.2)
XYZxyz(28.9542, 17.8213, 73.8512)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452E2 #A0E252
analogous
#5258E2 #9452E2 #DC52E2
triadic
#9452E2 #E29452 #52E294
tetradic
#9452E2 #E25258 #A0E252 #52E2DC
square
#9452E2 #E25258 #A0E252 #52E2DC
split-complementary
#9452E2 #E2DC52 #58E252
monochromatic
#571B9F #7423D3 #9452E2 #B486EB #D5BBF4

Accessibility & contrast

On white

4.60
#9452E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9452E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9452E2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452E2#FFFFFF#000000##FFFFFF
##9452E21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#1674DF
Tritanopia (blue-blind)
#847293
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9452e2;
/* rgb */ color: rgb(148, 82, 226);
/* oklch */ color: oklch(58.7% 0.210 301.2);
Tailwind
colors: {
  custom: {
    50: '#b886ec',
    500: '#9452e2',
    950: '#000000',
  },
}
SCSS
$custom: #9452e2;
$custom-light: #b886ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9452e2",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 267.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.20995,
    "h": 301.2
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#9452E2
secondary
#CAE3AC
accent
#D3127B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9452E2

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

Preview Lab → · Contrast checker → · Palette generator →

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