#9255BB#9255BB

#9255BB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.161 H 309.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9255BB
RGBrgb(146, 85, 187)
HSLhsl(276, 43%, 53%)
HSVhsv(276, 55%, 73%)
CMYKcmyk(21.9%, 54.5%, 0%, 26.7%)
CIE-LABlab(47.23, 43.79, -44.10)
CIE-LCHlch(47.23, 62.15, 314.80°)
OKLaboklab(56.35% 0.1031 -0.1237)
OKLCHoklch(56.35% 0.161 309.8)
XYZxyz(24.0705, 16.1963, 48.8622)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255BB #7EBB55
analogous
#5F55BB #9255BB #BB55B1
triadic
#9255BB #BB9255 #55BB92
tetradic
#9255BB #BB5F55 #7EBB55 #55B1BB
square
#9255BB #BB5F55 #7EBB55 #55B1BB
split-complementary
#9255BB #B1BB55 #55BB5F
monochromatic
#512B6B #723C97 #9255BB #AE81CC #CAACDE

Accessibility & contrast

On white

4.95
#9255BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9255BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255BB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255BB#FFFFFF#000000##FFFFFF
##9255BB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#8D6780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9255bb;
/* rgb */ color: rgb(146, 85, 187);
/* oklch */ color: oklch(56.4% 0.161 309.8);
Tailwind
colors: {
  custom: {
    50: '#b487d0',
    500: '#9255bb',
    950: '#000000',
  },
}
SCSS
$custom: #9255bb;
$custom-light: #b487d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9255bb",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 275.882,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.161,
    "h": 309.8
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#9255BB
secondary
#B2CCA0
accent
#D35588
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9255BB

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

Preview Lab → · Contrast checker → · Palette generator →

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