#9252E2#9252E2

#9252E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.210 H 300.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9252E2
RGBrgb(146, 82, 226)
HSLhsl(267, 71%, 60%)
HSVhsv(267, 64%, 89%)
CMYKcmyk(35.4%, 63.7%, 0%, 11.4%)
CIE-LABlab(49.05, 54.64, -63.55)
CIE-LCHlch(49.05, 83.81, 310.69°)
OKLaboklab(58.45% 0.1062 -0.1807)
OKLCHoklch(58.45% 0.21 300.4)
XYZxyz(28.5955, 17.6364, 73.8344)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252E2 #A2E252
analogous
#525AE2 #9252E2 #DA52E2
triadic
#9252E2 #E29252 #52E292
tetradic
#9252E2 #E2525A #A2E252 #52E2DA
square
#9252E2 #E2525A #A2E252 #52E2DA
split-complementary
#9252E2 #E2DA52 #5AE252
monochromatic
#551B9F #7223D3 #9252E2 #B386EB #D4BBF4

Accessibility & contrast

On white

4.64
#9252E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9252E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9252E2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252E2#FFFFFF#000000##FFFFFF
##9252E21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0F74DF
Tritanopia (blue-blind)
#817293
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9252e2;
/* rgb */ color: rgb(146, 82, 226);
/* oklch */ color: oklch(58.5% 0.210 300.4);
Tailwind
colors: {
  custom: {
    50: '#b786ec',
    500: '#9252e2',
    950: '#000000',
  },
}
SCSS
$custom: #9252e2;
$custom-light: #b786ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9252e2",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 266.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.20961,
    "h": 300.4
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#9252E2
secondary
#CBE3AC
accent
#D3127D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9252E2

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

Preview Lab → · Contrast checker → · Palette generator →

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