#9255BD#9255BD

#9255BD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.163 H 309.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9255BD
RGBrgb(146, 85, 189)
HSLhsl(275, 44%, 54%)
HSVhsv(275, 55%, 74%)
CMYKcmyk(22.8%, 55%, 0%, 25.9%)
CIE-LABlab(47.34, 44.25, -45.09)
CIE-LCHlch(47.34, 63.17, 314.46°)
OKLaboklab(56.47% 0.1032 -0.1266)
OKLCHoklch(56.47% 0.163 309.2)
XYZxyz(24.2861, 16.2825, 49.9977)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255BD #80BD55
analogous
#5E55BD #9255BD #BD55B4
triadic
#9255BD #BD9255 #55BD92
tetradic
#9255BD #BD5E55 #80BD55 #55B4BD
square
#9255BD #BD5E55 #80BD55 #55B4BD
split-complementary
#9255BD #B4BD55 #55BD5E
monochromatic
#522A6D #733C99 #9255BD #AE81CE #CBADDF

Accessibility & contrast

On white

4.93
#9255BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9255BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255BD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255BD#FFFFFF#000000##FFFFFF
##9255BD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#8C6881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9255bd;
/* rgb */ color: rgb(146, 85, 189);
/* oklch */ color: oklch(56.5% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#b587d1',
    500: '#9255bd',
    950: '#000000',
  },
}
SCSS
$custom: #9255bd;
$custom-light: #b587d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9255bd",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 275.192,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.1633,
    "h": 309.2
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#9255BD
secondary
#B3CDA1
accent
#D45489
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9255BD

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

Preview Lab → · Contrast checker → · Palette generator →

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