#B255C8#B255C8

#B255C8 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.188 H 319.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B255C8
RGBrgb(178, 85, 200)
HSLhsl(289, 51%, 56%)
HSVhsv(289, 58%, 78%)
CMYKcmyk(11%, 57.5%, 0%, 21.6%)
CIE-LABlab(51.99, 54.90, -43.81)
CIE-LCHlch(51.99, 70.24, 321.41°)
OKLaboklab(60.94% 0.1433 -0.122)
OKLCHoklch(60.94% 0.188 319.6)
XYZxyz(32.0326, 20.1335, 56.8312)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255C8 #6BC855
analogous
#7855C8 #B255C8 #C855A4
triadic
#B255C8 #C8B255 #55C8B2
tetradic
#B255C8 #C87855 #6BC855 #55A4C8
square
#B255C8 #C87855 #6BC855 #55A4C8
split-complementary
#B255C8 #A4C855 #55C878
monochromatic
#6B287B #9337A9 #B255C8 #C783D7 #DCB1E6

Accessibility & contrast

On white

4.18
#B255C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B255C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255C8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255C8#FFFFFF#000000##000000
##B255C81.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#B36787
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b255c8;
/* rgb */ color: rgb(178, 85, 200);
/* oklch */ color: oklch(60.9% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#cc89d9',
    500: '#b255c8',
    950: '#000000',
  },
}
SCSS
$custom: #b255c8;
$custom-light: #cc89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b255c8",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 288.522,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60937,
    "c": 0.18817,
    "h": 319.6
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#B255C8
secondary
#AED4A5
accent
#DB4D68
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255C8

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

Preview Lab → · Contrast checker → · Palette generator →

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