#9452EB#9452EB

#9452EB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.220 H 299.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9452EB
RGBrgb(148, 82, 235)
HSLhsl(266, 79%, 62%)
HSVhsv(266, 65%, 92%)
CMYKcmyk(37%, 65.1%, 0%, 7.8%)
CIE-LABlab(49.89, 57.25, -67.26)
CIE-LCHlch(49.89, 88.33, 310.40°)
OKLaboklab(59.3% 0.108 -0.1915)
OKLCHoklch(59.3% 0.22 299.4)
XYZxyz(30.2217, 18.3283, 80.5266)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452EB #A9EB52
analogous
#525DEB #9452EB #E052EB
triadic
#9452EB #EB9452 #52EB94
tetradic
#9452EB #EB525D #A9EB52 #52EBE0
square
#9452EB #EB525D #A9EB52 #52EBE0
split-complementary
#9452EB #EBE052 #5DEB52
monochromatic
#5714AE #721BE5 #9452EB #B689F1 #D8C0F8

Accessibility & contrast

On white

4.50
#9452EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9452EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9452EB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452EB#FFFFFF#000000##000000
##9452EB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#807598
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9452eb;
/* rgb */ color: rgb(148, 82, 235);
/* oklch */ color: oklch(59.3% 0.220 299.4);
Tailwind
colors: {
  custom: {
    50: '#b986f2',
    500: '#9452eb',
    950: '#000000',
  },
}
SCSS
$custom: #9452eb;
$custom-light: #b986f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9452eb",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 265.882,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.593,
    "c": 0.21988,
    "h": 299.4
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#9452EB
secondary
#D0E8B0
accent
#DC0A81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9452EB

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

Preview Lab → · Contrast checker → · Palette generator →

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