#B255DB#B255DB

#B255DB is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.0% C 0.207 H 314.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B255DB
RGBrgb(178, 85, 219)
HSLhsl(282, 65%, 60%)
HSVhsv(282, 61%, 86%)
CMYKcmyk(18.7%, 61.2%, 0%, 14.1%)
CIE-LABlab(53.03, 58.74, -52.98)
CIE-LCHlch(53.03, 79.10, 317.95°)
OKLaboklab(62.04% 0.1438 -0.1487)
OKLCHoklch(62.04% 0.207 314)
XYZxyz(34.3926, 21.0775, 69.2607)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255DB #7EDB55
analogous
#6F55DB #B255DB #DB55C1
triadic
#B255DB #DBB255 #55DBB2
tetradic
#B255DB #DB6F55 #7EDB55 #55C1DB
square
#B255DB #DB6F55 #7EDB55 #55C1DB
split-complementary
#B255DB #C1DB55 #55DB6F
monochromatic
#722096 #982AC8 #B255DB #C988E6 #E0BAF0

Accessibility & contrast

On white

4.03
#B255DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B255DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255DB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255DB#FFFFFF#000000##000000
##B255DB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DF
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#AE6D90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b255db;
/* rgb */ color: rgb(178, 85, 219);
/* oklch */ color: oklch(62.0% 0.207 314.0);
Tailwind
colors: {
  custom: {
    50: '#cc8ae7',
    500: '#b255db',
    950: '#000000',
  },
}
SCSS
$custom: #b255db;
$custom-light: #cc8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b255db",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 281.642,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.20688,
    "h": 314
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#B255DB
secondary
#BCE0AC
accent
#E84073
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B255DB

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

Preview Lab → · Contrast checker → · Palette generator →

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