#B255CB#B255CB

#B255CB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.191 H 318.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B255CB
RGBrgb(178, 85, 203)
HSLhsl(287, 53%, 56%)
HSVhsv(287, 58%, 80%)
CMYKcmyk(12.3%, 58.1%, 0%, 20.4%)
CIE-LABlab(52.15, 55.49, -45.28)
CIE-LCHlch(52.15, 71.62, 320.79°)
OKLaboklab(61.11% 0.1435 -0.1262)
OKLCHoklch(61.11% 0.191 318.7)
XYZxyz(32.3867, 20.2751, 58.6958)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255CB #6ECB55
analogous
#7755CB #B255CB #CB55A9
triadic
#B255CB #CBB255 #55CBB2
tetradic
#B255CB #CB7755 #6ECB55 #55A9CB
square
#B255CB #CB7755 #6ECB55 #55A9CB
split-complementary
#B255CB #A9CB55 #55CB77
monochromatic
#6C277F #9435AE #B255CB #C784D9 #DCB3E8

Accessibility & contrast

On white

4.15
#B255CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B255CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255CB#FFFFFF#000000##000000
##B255CB1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#5B80C8
Tritanopia (blue-blind)
#B26888
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b255cb;
/* rgb */ color: rgb(178, 85, 203);
/* oklch */ color: oklch(61.1% 0.191 318.7);
Tailwind
colors: {
  custom: {
    50: '#cc8adb',
    500: '#b255cb',
    950: '#000000',
  },
}
SCSS
$custom: #b255cb;
$custom-light: #cc8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#b255cb",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 287.288,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61105,
    "c": 0.19109,
    "h": 318.7
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#B255CB
secondary
#B0D6A6
accent
#DD4B6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255CB

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

Preview Lab → · Contrast checker → · Palette generator →

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