#B255AF#B255AF

#B255AF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.6% C 0.165 H 328.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B255AF
RGBrgb(178, 85, 175)
HSLhsl(302, 38%, 52%)
HSVhsv(302, 52%, 70%)
CMYKcmyk(0%, 52.2%, 1.7%, 30.2%)
CIE-LABlab(50.76, 50.20, -31.28)
CIE-LCHlch(50.76, 59.15, 328.08°)
OKLaboklab(59.63% 0.1406 -0.0858)
OKLCHoklch(59.63% 0.165 328.6)
XYZxyz(29.3461, 19.0589, 42.6821)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255AF #55B258
analogous
#8755B2 #B255AF #B25581
triadic
#B255AF #AFB255 #55AFB2
tetradic
#B255AF #B28755 #55B258 #5581B2
square
#B255AF #B28755 #55B258 #5581B2
split-complementary
#B255AF #81B255 #55B287
monochromatic
#612C5F #8B3F88 #B255AF #C57FC3 #D8A9D7

Accessibility & contrast

On white

4.36
#B255AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B255AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255AF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255AF#FFFFFF#000000##000000
##B255AF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#B75E7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b255af;
/* rgb */ color: rgb(178, 85, 175);
/* oklch */ color: oklch(59.6% 0.165 328.6);
Tailwind
colors: {
  custom: {
    50: '#cb89c7',
    500: '#b255af',
    950: '#000000',
  },
}
SCSS
$custom: #b255af;
$custom-light: #cb89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b255af",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 301.935,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.16471,
    "h": 328.6
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#B255AF
secondary
#9DC69E
accent
#CE5E5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B255AF

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

Preview Lab → · Contrast checker → · Palette generator →

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