#9252E6#9252E6

#9252E6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.214 H 299.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9252E6
RGBrgb(146, 82, 230)
HSLhsl(266, 75%, 61%)
HSVhsv(266, 64%, 90%)
CMYKcmyk(36.5%, 64.3%, 0%, 9.8%)
CIE-LABlab(49.32, 55.62, -65.37)
CIE-LCHlch(49.32, 85.83, 310.39°)
OKLaboklab(58.73% 0.1058 -0.1861)
OKLCHoklch(58.73% 0.214 299.6)
XYZxyz(29.1508, 17.8585, 76.7588)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252E6 #A6E652
analogous
#525CE6 #9252E6 #DC52E6
triadic
#9252E6 #E69252 #52E692
tetradic
#9252E6 #E6525C #A6E652 #52E6DC
square
#9252E6 #E6525C #A6E652 #52E6DC
split-complementary
#9252E6 #E6DC52 #5CE652
monochromatic
#5518A6 #7120DB #9252E6 #B487EE #D5BDF5

Accessibility & contrast

On white

4.59
#9252E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9252E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9252E6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252E6#FFFFFF#000000##FFFFFF
##9252E61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#7F7395
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9252e6;
/* rgb */ color: rgb(146, 82, 230);
/* oklch */ color: oklch(58.7% 0.214 299.6);
Tailwind
colors: {
  custom: {
    50: '#b786ef',
    500: '#9252e6',
    950: '#000000',
  },
}
SCSS
$custom: #9252e6;
$custom-light: #b786ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9252e6",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 265.946,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.21406,
    "h": 299.6
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#9252E6
secondary
#CEE6AE
accent
#D70F80
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9252E6

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

Preview Lab → · Contrast checker → · Palette generator →

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