#B255DF#B255DF

#B255DF is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.3% C 0.211 H 313.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B255DF
RGBrgb(178, 85, 223)
HSLhsl(280, 68%, 60%)
HSVhsv(280, 62%, 87%)
CMYKcmyk(20.2%, 61.9%, 0%, 12.5%)
CIE-LABlab(53.27, 59.57, -54.87)
CIE-LCHlch(53.27, 80.99, 317.35°)
OKLaboklab(62.28% 0.1438 -0.1542)
OKLCHoklch(62.28% 0.211 313)
XYZxyz(34.9256, 21.2907, 72.0674)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255DF #82DF55
analogous
#6D55DF #B255DF #DF55C7
triadic
#B255DF #DFB255 #55DFB2
tetradic
#B255DF #DF6D55 #82DF55 #55C7DF
square
#B255DF #DF6D55 #82DF55 #55C7DF
split-complementary
#B255DF #C7DF55 #55DF6D
monochromatic
#731D9C #9927D0 #B255DF #C989E9 #E1BCF2

Accessibility & contrast

On white

3.99
#B255DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B255DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255DF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255DF#FFFFFF#000000##000000
##B255DF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE3
Deuteranopia (green-blind)
#4D81DC
Tritanopia (blue-blind)
#AD6F92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b255df;
/* rgb */ color: rgb(178, 85, 223);
/* oklch */ color: oklch(62.3% 0.211 313.0);
Tailwind
colors: {
  custom: {
    50: '#cc8aea',
    500: '#b255df',
    950: '#000000',
  },
}
SCSS
$custom: #b255df;
$custom-light: #cc8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#b255df",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 280.435,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.21086,
    "h": 313
  },
  "luminance": 0.2129
}

Semantic roles & 50–950 ramp

primary
#B255DF
secondary
#BFE2AE
accent
#D01552
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B255DF

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

Preview Lab → · Contrast checker → · Palette generator →

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