#9252EB#9252EB

#9252EB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.220 H 298.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9252EB
RGBrgb(146, 82, 235)
HSLhsl(265, 79%, 62%)
HSVhsv(265, 65%, 92%)
CMYKcmyk(37.9%, 65.1%, 0%, 7.8%)
CIE-LABlab(49.67, 56.85, -67.63)
CIE-LCHlch(49.67, 88.35, 310.05°)
OKLaboklab(59.09% 0.1053 -0.1927)
OKLCHoklch(59.09% 0.22 298.7)
XYZxyz(29.8630, 18.1434, 80.5098)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252EB #ABEB52
analogous
#525FEB #9252EB #DF52EB
triadic
#9252EB #EB9252 #52EB92
tetradic
#9252EB #EB525F #ABEB52 #52EBDF
square
#9252EB #EB525F #ABEB52 #52EBDF
split-complementary
#9252EB #EBDF52 #5FEB52
monochromatic
#5514AE #6F1BE5 #9252EB #B589F1 #D7C0F8

Accessibility & contrast

On white

4.54
#9252EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9252EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9252EB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252EB#FFFFFF#000000##000000
##9252EB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#7D7598
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9252eb;
/* rgb */ color: rgb(146, 82, 235);
/* oklch */ color: oklch(59.1% 0.220 298.7);
Tailwind
colors: {
  custom: {
    50: '#b886f2',
    500: '#9252eb',
    950: '#000000',
  },
}
SCSS
$custom: #9252eb;
$custom-light: #b886f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9252eb",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 265.098,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.21961,
    "h": 298.7
  },
  "luminance": 0.18144
}

Semantic roles & 50–950 ramp

primary
#9252EB
secondary
#D1E8B0
accent
#DC0A84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9252EB

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

Preview Lab → · Contrast checker → · Palette generator →

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