#9255BC#9255BC

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

Color values

HEX#9255BC
RGBrgb(146, 85, 188)
HSLhsl(276, 43%, 54%)
HSVhsv(276, 55%, 74%)
CMYKcmyk(22.3%, 54.8%, 0%, 26.3%)
CIE-LABlab(47.29, 44.02, -44.59)
CIE-LCHlch(47.29, 62.66, 314.63°)
OKLaboklab(56.41% 0.1031 -0.1251)
OKLCHoklch(56.41% 0.162 309.5)
XYZxyz(24.1779, 16.2392, 49.4280)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255BC #7FBC55
analogous
#5E55BC #9255BC #BC55B2
triadic
#9255BC #BC9255 #55BC92
tetradic
#9255BC #BC5E55 #7FBC55 #55B2BC
square
#9255BC #BC5E55 #7FBC55 #55B2BC
split-complementary
#9255BC #B2BC55 #55BC5E
monochromatic
#512B6C #723C98 #9255BC #AE81CD #CAADDF

Accessibility & contrast

On white

4.94
#9255BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9255BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255BC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255BC#FFFFFF#000000##FFFFFF
##9255BC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBF
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#8C6780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9255bc;
/* rgb */ color: rgb(146, 85, 188);
/* oklch */ color: oklch(56.4% 0.162 309.5);
Tailwind
colors: {
  custom: {
    50: '#b487d1',
    500: '#9255bc',
    950: '#000000',
  },
}
SCSS
$custom: #9255bc;
$custom-light: #b487d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9255bc",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 275.534,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.16215,
    "h": 309.5
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9255BC

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

Preview Lab → · Contrast checker → · Palette generator →

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