#9252BE#9252BE

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

Color values

HEX#9252BE
RGBrgb(146, 82, 190)
HSLhsl(276, 45%, 53%)
HSVhsv(276, 57%, 75%)
CMYKcmyk(23.2%, 56.8%, 0%, 25.5%)
CIE-LABlab(46.80, 46.08, -46.54)
CIE-LCHlch(46.80, 65.49, 314.71°)
OKLaboklab(56.09% 0.1072 -0.1308)
OKLCHoklch(56.09% 0.169 309.3)
XYZxyz(24.1638, 15.8637, 50.4943)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252BE #7EBE52
analogous
#5C52BE #9252BE #BE52B4
triadic
#9252BE #BE9252 #52BE92
tetradic
#9252BE #BE5C52 #7EBE52 #52B4BE
square
#9252BE #BE5C52 #7EBE52 #52B4BE
split-complementary
#9252BE #B4BE52 #52BE5C
monochromatic
#51296D #723A99 #9252BE #AE7ECF #CAABDF

Accessibility & contrast

On white

5.03
#9252BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9252BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252BE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252BE#FFFFFF#000000##FFFFFF
##9252BE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC2
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#8C6680
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9252be;
/* rgb */ color: rgb(146, 82, 190);
/* oklch */ color: oklch(56.1% 0.169 309.3);
Tailwind
colors: {
  custom: {
    50: '#b585d2',
    500: '#9252be',
    950: '#000000',
  },
}
SCSS
$custom: #9252be;
$custom-light: #b585d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9252be",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 275.556,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.16911,
    "h": 309.3
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#9252BE
secondary
#B2CD9F
accent
#D55388
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9252BE

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

Preview Lab → · Contrast checker → · Palette generator →

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