#B254DF#B254DF

#B254DF is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.212 H 313.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B254DF
RGBrgb(178, 84, 223)
HSLhsl(281, 68%, 60%)
HSVhsv(281, 62%, 87%)
CMYKcmyk(20.2%, 62.3%, 0%, 12.5%)
CIE-LABlab(53.10, 60.03, -55.14)
CIE-LCHlch(53.10, 81.52, 317.43°)
OKLaboklab(62.16% 0.145 -0.155)
OKLCHoklch(62.16% 0.212 313.1)
XYZxyz(34.8474, 21.1343, 72.0414)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254DF #81DF54
analogous
#6D54DF #B254DF #DF54C6
triadic
#B254DF #DFB254 #54DFB2
tetradic
#B254DF #DF6D54 #81DF54 #54C6DF
square
#B254DF #DF6D54 #81DF54 #54C6DF
split-complementary
#B254DF #C6DF54 #54DF6D
monochromatic
#731D9C #9927CF #B254DF #C988E9 #E0BBF2

Accessibility & contrast

On white

4.02
#B254DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B254DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254DF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254DF#FFFFFF#000000##000000
##B254DF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#197AE3
Deuteranopia (green-blind)
#4C81DC
Tritanopia (blue-blind)
#AD6E92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b254df;
/* rgb */ color: rgb(178, 84, 223);
/* oklch */ color: oklch(62.2% 0.212 313.1);
Tailwind
colors: {
  custom: {
    50: '#cd89ea',
    500: '#b254df',
    950: '#000000',
  },
}
SCSS
$custom: #b254df;
$custom-light: #cd89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b254df",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 280.576,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62157,
    "c": 0.21225,
    "h": 313.1
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#B254DF
secondary
#BEE2AD
accent
#D01552
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B254DF

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

Preview Lab → · Contrast checker → · Palette generator →

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