#B255DA#B255DA

#B255DA is a mid, highly saturated purple. Relative luminance 0.210; OKLCH L 62.0% C 0.206 H 314.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B255DA
RGBrgb(178, 85, 218)
HSLhsl(282, 64%, 59%)
HSVhsv(282, 61%, 85%)
CMYKcmyk(18.3%, 61%, 0%, 14.5%)
CIE-LABlab(52.98, 58.53, -52.50)
CIE-LCHlch(52.98, 78.63, 318.11°)
OKLaboklab(61.98% 0.1438 -0.1473)
OKLCHoklch(61.98% 0.206 314.3)
XYZxyz(34.2614, 21.0250, 68.5695)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255DA #7DDA55
analogous
#7055DA #B255DA #DA55BF
triadic
#B255DA #DAB255 #55DAB2
tetradic
#B255DA #DA7055 #7DDA55 #55BFDA
square
#B255DA #DA7055 #7DDA55 #55BFDA
split-complementary
#B255DA #BFDA55 #55DA70
monochromatic
#712094 #982BC7 #B255DA #C987E5 #E0BAF0

Accessibility & contrast

On white

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

On black

5.20
#B255DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255DA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255DA#FFFFFF#000000##000000
##B255DA1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2679DE
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#AF6D90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b255da;
/* rgb */ color: rgb(178, 85, 218);
/* oklch */ color: oklch(62.0% 0.206 314.3);
Tailwind
colors: {
  custom: {
    50: '#cc8ae6',
    500: '#b255da',
    950: '#000000',
  },
}
SCSS
$custom: #b255da;
$custom-light: #cc8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b255da",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 218
  },
  "hsl": {
    "h": 281.955,
    "s": 64.251,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.20588,
    "h": 314.3
  },
  "luminance": 0.21024
}

Semantic roles & 50–950 ramp

primary
#B255DA
secondary
#BBDFAB
accent
#E74173
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B255DA

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

Preview Lab → · Contrast checker → · Palette generator →

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