#B254D6#B254D6

#B254D6 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.6% C 0.203 H 315.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B254D6
RGBrgb(178, 84, 214)
HSLhsl(283, 61%, 58%)
HSVhsv(283, 61%, 84%)
CMYKcmyk(16.8%, 60.7%, 0%, 16.1%)
CIE-LABlab(52.58, 58.18, -50.87)
CIE-LCHlch(52.58, 77.28, 318.83°)
OKLaboklab(61.61% 0.145 -0.1425)
OKLCHoklch(61.61% 0.203 315.5)
XYZxyz(33.6661, 20.6618, 65.8200)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254D6 #78D654
analogous
#7154D6 #B254D6 #D654B9
triadic
#B254D6 #D6B254 #54D6B2
tetradic
#B254D6 #D67154 #78D654 #54B9D6
square
#B254D6 #D67154 #78D654 #54B9D6
split-complementary
#B254D6 #B9D654 #54D671
monochromatic
#70228E #972EBF #B254D6 #C885E2 #DEB7EE

Accessibility & contrast

On white

4.09
#B254D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B254D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254D6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254D6#FFFFFF#000000##000000
##B254D61.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DA
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#B06B8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b254d6;
/* rgb */ color: rgb(178, 84, 214);
/* oklch */ color: oklch(61.6% 0.203 315.5);
Tailwind
colors: {
  custom: {
    50: '#cc89e3',
    500: '#b254d6',
    950: '#000000',
  },
}
SCSS
$custom: #b254d6;
$custom-light: #cc89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b254d6",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 283.385,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.20334,
    "h": 315.5
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#B254D6
secondary
#B7DDA9
accent
#E44370
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #B254D6

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

Preview Lab → · Contrast checker → · Palette generator →

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