#9255BF#9255BF

#9255BF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.166 H 308.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9255BF
RGBrgb(146, 85, 191)
HSLhsl(275, 45%, 54%)
HSVhsv(275, 55%, 75%)
CMYKcmyk(23.6%, 55.5%, 0%, 25.1%)
CIE-LABlab(47.46, 44.71, -46.07)
CIE-LCHlch(47.46, 64.20, 314.15°)
OKLaboklab(56.59% 0.1033 -0.1294)
OKLCHoklch(56.59% 0.166 308.6)
XYZxyz(24.5047, 16.3699, 51.1489)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255BF #82BF55
analogous
#5D55BF #9255BF #BF55B7
triadic
#9255BF #BF9255 #55BF92
tetradic
#9255BF #BF5D55 #82BF55 #55B7BF
square
#9255BF #BF5D55 #82BF55 #55B7BF
split-complementary
#9255BF #B7BF55 #55BF5D
monochromatic
#522A70 #733B9C #9255BF #AF81D0 #CBAEE0

Accessibility & contrast

On white

4.91
#9255BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9255BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255BF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255BF#FFFFFF#000000##FFFFFF
##9255BF1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#8C6882
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9255bf;
/* rgb */ color: rgb(146, 85, 191);
/* oklch */ color: oklch(56.6% 0.166 308.6);
Tailwind
colors: {
  custom: {
    50: '#b587d3',
    500: '#9255bf',
    950: '#000000',
  },
}
SCSS
$custom: #9255bf;
$custom-light: #b587d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9255bf",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 274.528,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.16559,
    "h": 308.6
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#9255BF
secondary
#B4CEA1
accent
#D5538A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9255BF

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

Preview Lab → · Contrast checker → · Palette generator →

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