#B254DA#B254DA

#B254DA is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.207 H 314.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B254DA
RGBrgb(178, 84, 218)
HSLhsl(282, 64%, 59%)
HSVhsv(282, 61%, 85%)
CMYKcmyk(18.3%, 61.5%, 0%, 14.5%)
CIE-LABlab(52.81, 59.00, -52.78)
CIE-LCHlch(52.81, 79.16, 318.18°)
OKLaboklab(61.85% 0.145 -0.1481)
OKLCHoklch(61.85% 0.207 314.4)
XYZxyz(34.1832, 20.8686, 68.5435)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254DA #7CDA54
analogous
#6F54DA #B254DA #DA54BF
triadic
#B254DA #DAB254 #54DAB2
tetradic
#B254DA #DA6F54 #7CDA54 #54BFDA
square
#B254DA #DA6F54 #7CDA54 #54BFDA
split-complementary
#B254DA #BFDA54 #54DA6F
monochromatic
#712094 #982BC6 #B254DA #C986E5 #DFB9F0

Accessibility & contrast

On white

4.06
#B254DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B254DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254DA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254DA#FFFFFF#000000##000000
##B254DA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DE
Deuteranopia (green-blind)
#5080D7
Tritanopia (blue-blind)
#AF6C8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b254da;
/* rgb */ color: rgb(178, 84, 218);
/* oklch */ color: oklch(61.9% 0.207 314.4);
Tailwind
colors: {
  custom: {
    50: '#cc89e6',
    500: '#b254da',
    950: '#000000',
  },
}
SCSS
$custom: #b254da;
$custom-light: #cc89e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b254da",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 282.09,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.20729,
    "h": 314.4
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#B254DA
secondary
#BADFAB
accent
#E74072
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B254DA

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

Preview Lab → · Contrast checker → · Palette generator →

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