#B255BA#B255BA

#B255BA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.175 H 324.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B255BA
RGBrgb(178, 85, 186)
HSLhsl(295, 42%, 53%)
HSVhsv(295, 54%, 73%)
CMYKcmyk(4.3%, 54.3%, 0%, 27.1%)
CIE-LABlab(51.28, 52.22, -36.86)
CIE-LCHlch(51.28, 63.91, 324.78°)
OKLaboklab(60.19% 0.1421 -0.1018)
OKLCHoklch(60.19% 0.175 324.4)
XYZxyz(30.4707, 19.5087, 48.6054)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255BA #5DBA55
analogous
#8055BA #B255BA #BA558F
triadic
#B255BA #BAB255 #55BAB2
tetradic
#B255BA #BA8055 #5DBA55 #558FBA
square
#B255BA #BA8055 #5DBA55 #558FBA
split-complementary
#B255BA #8FBA55 #55BA80
monochromatic
#652B6A #8E3D95 #B255BA #C681CC #D9ACDD

Accessibility & contrast

On white

4.28
#B255BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B255BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255BA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255BA#FFFFFF#000000##000000
##B255BA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#B56280
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b255ba;
/* rgb */ color: rgb(178, 85, 186);
/* oklch */ color: oklch(60.2% 0.175 324.4);
Tailwind
colors: {
  custom: {
    50: '#cb89cf',
    500: '#b255ba',
    950: '#000000',
  },
}
SCSS
$custom: #b255ba;
$custom-light: #cb89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b255ba",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 295.248,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.1748,
    "h": 324.4
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#B255BA
secondary
#A3CBA0
accent
#D25660
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B255BA

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

Preview Lab → · Contrast checker → · Palette generator →

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