#9255AE#9255AE

#9255AE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.6% C 0.146 H 314.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9255AE
RGBrgb(146, 85, 174)
HSLhsl(281, 35%, 51%)
HSVhsv(281, 51%, 68%)
CMYKcmyk(16.1%, 51.1%, 0%, 31.8%)
CIE-LABlab(46.53, 40.87, -37.62)
CIE-LCHlch(46.53, 55.55, 317.38°)
OKLaboklab(55.61% 0.1019 -0.1048)
OKLCHoklch(55.61% 0.146 314.2)
XYZxyz(22.7413, 15.6646, 41.8618)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255AE #71AE55
analogous
#6555AE #9255AE #AE559D
triadic
#9255AE #AE9255 #55AE92
tetradic
#9255AE #AE6555 #71AE55 #559DAE
square
#9255AE #AE6555 #71AE55 #559DAE
split-complementary
#9255AE #9DAE55 #55AE65
monochromatic
#4D2C5D #704086 #9255AE #AD7EC2 #C7A8D5

Accessibility & contrast

On white

5.08
#9255AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9255AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255AE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255AE#FFFFFF#000000##FFFFFF
##9255AE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#906379
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9255ae;
/* rgb */ color: rgb(146, 85, 174);
/* oklch */ color: oklch(55.6% 0.146 314.2);
Tailwind
colors: {
  custom: {
    50: '#b487c6',
    500: '#9255ae',
    950: '#000000',
  },
}
SCSS
$custom: #9255ae;
$custom-light: #b487c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9255ae",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 281.124,
    "s": 35.458,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.14619,
    "h": 314.2
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#9255AE
secondary
#A8C39C
accent
#CB5C7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9255AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9255AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva