#9452E1#9452E1

#9452E1 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.209 H 301.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9452E1
RGBrgb(148, 82, 225)
HSLhsl(268, 70%, 60%)
HSVhsv(268, 64%, 88%)
CMYKcmyk(34.2%, 63.6%, 0%, 11.8%)
CIE-LABlab(49.21, 54.81, -62.72)
CIE-LCHlch(49.21, 83.29, 311.15°)
OKLaboklab(58.59% 0.1089 -0.1782)
OKLCHoklch(58.59% 0.209 301.4)
XYZxyz(28.8174, 17.7666, 73.1307)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452E1 #9FE152
analogous
#5258E1 #9452E1 #DB52E1
triadic
#9452E1 #E19452 #52E194
tetradic
#9452E1 #E15258 #9FE152 #52E1DB
square
#9452E1 #E15258 #9FE152 #52E1DB
split-complementary
#9452E1 #E1DB52 #58E152
monochromatic
#571B9D #7424D1 #9452E1 #B486EA #D5BAF3

Accessibility & contrast

On white

4.61
#9452E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9452E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9452E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452E1#FFFFFF#000000##FFFFFF
##9452E11.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#1974DE
Tritanopia (blue-blind)
#847192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9452e1;
/* rgb */ color: rgb(148, 82, 225);
/* oklch */ color: oklch(58.6% 0.209 301.4);
Tailwind
colors: {
  custom: {
    50: '#b886eb',
    500: '#9452e1',
    950: '#000000',
  },
}
SCSS
$custom: #9452e1;
$custom-light: #b886eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9452e1",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 267.692,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.20884,
    "h": 301.4
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9452E1

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

Preview Lab → · Contrast checker → · Palette generator →

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