#9452E4#9452E4

#9452E4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.212 H 300.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9452E4
RGBrgb(148, 82, 228)
HSLhsl(267, 73%, 61%)
HSVhsv(267, 64%, 89%)
CMYKcmyk(35.1%, 64%, 0%, 10.6%)
CIE-LABlab(49.41, 55.54, -64.09)
CIE-LCHlch(49.41, 84.81, 310.91°)
OKLaboklab(58.8% 0.1087 -0.1822)
OKLCHoklch(58.8% 0.212 300.8)
XYZxyz(29.2302, 17.9317, 75.3050)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452E4 #A2E452
analogous
#5259E4 #9452E4 #DD52E4
triadic
#9452E4 #E49452 #52E494
tetradic
#9452E4 #E45259 #A2E452 #52E4DD
square
#9452E4 #E45259 #A2E452 #52E4DD
split-complementary
#9452E4 #E4DD52 #59E452
monochromatic
#5719A2 #7422D7 #9452E4 #B587EC #D5BCF5

Accessibility & contrast

On white

4.58
#9452E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9452E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9452E4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452E4#FFFFFF#000000##000000
##9452E41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0E75E1
Tritanopia (blue-blind)
#837294
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9452e4;
/* rgb */ color: rgb(148, 82, 228);
/* oklch */ color: oklch(58.8% 0.212 300.8);
Tailwind
colors: {
  custom: {
    50: '#b986ed',
    500: '#9452e4',
    950: '#000000',
  },
}
SCSS
$custom: #9452e4;
$custom-light: #b986ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9452e4",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 267.123,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.21217,
    "h": 300.8
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#9452E4
secondary
#CCE5AD
accent
#D5107C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9452E4

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

Preview Lab → · Contrast checker → · Palette generator →

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