#B254DD#B254DD

#B254DD is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.0% C 0.210 H 313.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B254DD
RGBrgb(178, 84, 221)
HSLhsl(281, 67%, 60%)
HSVhsv(281, 62%, 87%)
CMYKcmyk(19.5%, 62%, 0%, 13.3%)
CIE-LABlab(52.98, 59.62, -54.20)
CIE-LCHlch(52.98, 80.57, 317.72°)
OKLaboklab(62.04% 0.145 -0.1523)
OKLCHoklch(62.04% 0.21 313.6)
XYZxyz(34.5793, 21.0271, 70.6297)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254DD #7FDD54
analogous
#6E54DD #B254DD #DD54C3
triadic
#B254DD #DDB254 #54DDB2
tetradic
#B254DD #DD6E54 #7FDD54 #54C3DD
square
#B254DD #DD6E54 #7FDD54 #54C3DD
split-complementary
#B254DD #C3DD54 #54DD6E
monochromatic
#721E98 #9828CB #B254DD #C987E7 #E0BAF1

Accessibility & contrast

On white

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

On black

5.21
#B254DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254DD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254DD#FFFFFF#000000##000000
##B254DD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E1
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#AE6D91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b254dd;
/* rgb */ color: rgb(178, 84, 221);
/* oklch */ color: oklch(62.0% 0.210 313.6);
Tailwind
colors: {
  custom: {
    50: '#cc89e8',
    500: '#b254dd',
    950: '#000000',
  },
}
SCSS
$custom: #b254dd;
$custom-light: #cc89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b254dd",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 281.168,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.21026,
    "h": 313.6
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#B254DD
secondary
#BDE1AC
accent
#EA3E74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B254DD

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

Preview Lab → · Contrast checker → · Palette generator →

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