#B255B2#B255B2

#B255B2 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.8% C 0.167 H 327.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B255B2
RGBrgb(178, 85, 178)
HSLhsl(300, 38%, 52%)
HSVhsv(300, 52%, 70%)
CMYKcmyk(0%, 52.2%, 0%, 30.2%)
CIE-LABlab(50.89, 50.74, -32.81)
CIE-LCHlch(50.89, 60.42, 327.11°)
OKLaboklab(59.78% 0.1411 -0.0901)
OKLCHoklch(59.78% 0.167 327.4)
XYZxyz(29.6440, 19.1780, 44.2512)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255B2 #55B255
analogous
#8455B2 #B255B2 #B25584
triadic
#B255B2 #B2B255 #55B2B2
tetradic
#B255B2 #B28455 #55B255 #5584B2
square
#B255B2 #B28455 #55B255 #5584B2
split-complementary
#B255B2 #84B255 #55B284
monochromatic
#612C61 #8B3F8B #B255B2 #C57FC5 #D8A9D8

Accessibility & contrast

On white

4.34
#B255B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B255B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255B2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255B2#FFFFFF#000000##000000
##B255B21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#B75F7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b255b2;
/* rgb */ color: rgb(178, 85, 178);
/* oklch */ color: oklch(59.8% 0.167 327.4);
Tailwind
colors: {
  custom: {
    50: '#cb89c9',
    500: '#b255b2',
    950: '#000000',
  },
}
SCSS
$custom: #b255b2;
$custom-light: #cb89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b255b2",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.16741,
    "h": 327.4
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#B255B2
secondary
#9DC69D
accent
#CE5A5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B255B2

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

Preview Lab → · Contrast checker → · Palette generator →

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