#B255BF#B255BF

#B255BF is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.180 H 322.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B255BF
RGBrgb(178, 85, 191)
HSLhsl(293, 45%, 54%)
HSVhsv(293, 55%, 75%)
CMYKcmyk(6.8%, 55.5%, 0%, 25.1%)
CIE-LABlab(51.52, 53.16, -39.36)
CIE-LCHlch(51.52, 66.15, 323.48°)
OKLaboklab(60.45% 0.1426 -0.109)
OKLCHoklch(60.45% 0.18 322.6)
XYZxyz(31.0116, 19.7251, 51.4539)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255BF #62BF55
analogous
#7D55BF #B255BF #BF5597
triadic
#B255BF #BFB255 #55BFB2
tetradic
#B255BF #BF7D55 #62BF55 #5597BF
square
#B255BF #BF7D55 #62BF55 #5597BF
split-complementary
#B255BF #97BF55 #55BF7D
monochromatic
#672A70 #903B9C #B255BF #C681D0 #DAAEE0

Accessibility & contrast

On white

4.25
#B255BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B255BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255BF#FFFFFF#000000##000000
##B255BF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#627FBC
Tritanopia (blue-blind)
#B46482
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b255bf;
/* rgb */ color: rgb(178, 85, 191);
/* oklch */ color: oklch(60.4% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#cb89d3',
    500: '#b255bf',
    950: '#000000',
  },
}
SCSS
$custom: #b255bf;
$custom-light: #cb89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b255bf",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 292.642,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.17952,
    "h": 322.6
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#B255BF
secondary
#A7CEA1
accent
#D55363
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B255BF

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

Preview Lab → · Contrast checker → · Palette generator →

#B255BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva