#9252BF#9252BF

#9252BF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.170 H 309.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9252BF
RGBrgb(146, 82, 191)
HSLhsl(275, 46%, 54%)
HSVhsv(275, 57%, 75%)
CMYKcmyk(23.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(46.85, 46.31, -47.03)
CIE-LCHlch(46.85, 66.00, 314.56°)
OKLaboklab(56.15% 0.1072 -0.1322)
OKLCHoklch(56.15% 0.17 309)
XYZxyz(24.2735, 15.9076, 51.0719)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252BF #7FBF52
analogous
#5B52BF #9252BF #BF52B6
triadic
#9252BF #BF9252 #52BF92
tetradic
#9252BF #BF5B52 #7FBF52 #52B6BF
square
#9252BF #BF5B52 #7FBF52 #52B6BF
split-complementary
#9252BF #B6BF52 #52BF5B
monochromatic
#51296E #72399B #9252BF #AE7FD0 #CAABE0

Accessibility & contrast

On white

5.02
#9252BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9252BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252BF#FFFFFF#000000##FFFFFF
##9252BF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#8C6681
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9252bf;
/* rgb */ color: rgb(146, 82, 191);
/* oklch */ color: oklch(56.1% 0.170 309.0);
Tailwind
colors: {
  custom: {
    50: '#b585d3',
    500: '#9252bf',
    950: '#000000',
  },
}
SCSS
$custom: #9252bf;
$custom-light: #b585d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9252bf",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 275.229,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.17024,
    "h": 309
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#9252BF
secondary
#B2CE9F
accent
#D65288
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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