#9255A5#9255A5

#9255A5 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.1% C 0.136 H 317.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9255A5
RGBrgb(146, 85, 165)
HSLhsl(286, 32%, 49%)
HSVhsv(286, 48%, 65%)
CMYKcmyk(11.5%, 48.5%, 0%, 35.3%)
CIE-LABlab(46.08, 38.93, -33.03)
CIE-LCHlch(46.08, 51.05, 319.68°)
OKLaboklab(55.12% 0.1008 -0.0915)
OKLCHoklch(55.12% 0.136 317.8)
XYZxyz(21.8931, 15.3253, 37.3948)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255A5 #68A555
analogous
#6A55A5 #9255A5 #A55590
triadic
#9255A5 #A59255 #55A592
tetradic
#9255A5 #A56A55 #68A555 #5590A5
square
#9255A5 #A56A55 #68A555 #5590A5
split-complementary
#9255A5 #90A555 #55A56A
monochromatic
#4B2B54 #6E407D #9255A5 #AC7CBB #C6A4D0

Accessibility & contrast

On white

5.17
#9255A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9255A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255A5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255A5#FFFFFF#000000##FFFFFF
##9255A51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A8
Deuteranopia (green-blind)
#586FA3
Tritanopia (blue-blind)
#926075
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9255a5;
/* rgb */ color: rgb(146, 85, 165);
/* oklch */ color: oklch(55.1% 0.136 317.8);
Tailwind
colors: {
  custom: {
    50: '#b487c0',
    500: '#9255a5',
    950: '#000000',
  },
}
SCSS
$custom: #9255a5;
$custom-light: #b487c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9255a5",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 165
  },
  "hsl": {
    "h": 285.75,
    "s": 32,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.13611,
    "h": 317.8
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#9255A5
secondary
#A1BE98
accent
#C86078
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #9255A5

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

Preview Lab → · Contrast checker → · Palette generator →

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