#9452EF#9452EF

#9452EF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.224 H 298.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9452EF
RGBrgb(148, 82, 239)
HSLhsl(265, 83%, 63%)
HSVhsv(265, 66%, 94%)
CMYKcmyk(38.1%, 65.7%, 0%, 6.3%)
CIE-LABlab(50.17, 58.24, -69.05)
CIE-LCHlch(50.17, 90.33, 310.14°)
OKLaboklab(59.59% 0.1075 -0.1968)
OKLCHoklch(59.59% 0.224 298.6)
XYZxyz(30.8061, 18.5621, 83.6044)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452EF #ADEF52
analogous
#525EEF #9452EF #E352EF
triadic
#9452EF #EF9452 #52EF94
tetradic
#9452EF #EF525E #ADEF52 #52EFE3
square
#9452EF #EF525E #ADEF52 #52EFE3
split-complementary
#9452EF #EFE352 #5EEF52
monochromatic
#5611B6 #711AEA #9452EF #B78AF4 #D9C2F9

Accessibility & contrast

On white

4.46
#9452EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9452EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9452EF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452EF#FFFFFF#000000##000000
##9452EF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#7F769A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9452ef;
/* rgb */ color: rgb(148, 82, 239);
/* oklch */ color: oklch(59.6% 0.224 298.6);
Tailwind
colors: {
  custom: {
    50: '#ba87f5',
    500: '#9452ef',
    950: '#000000',
  },
}
SCSS
$custom: #9452ef;
$custom-light: #ba87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9452ef",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 265.223,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.22428,
    "h": 298.6
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#9452EF
secondary
#D3EBB2
accent
#DF0684
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9452EF

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

Preview Lab → · Contrast checker → · Palette generator →

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