#B254C8#B254C8

#B254C8 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.190 H 319.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B254C8
RGBrgb(178, 84, 200)
HSLhsl(289, 51%, 56%)
HSVhsv(289, 58%, 78%)
CMYKcmyk(11%, 58%, 0%, 21.6%)
CIE-LABlab(51.81, 55.38, -44.09)
CIE-LCHlch(51.81, 70.79, 321.48°)
OKLaboklab(60.81% 0.1446 -0.1228)
OKLCHoklch(60.81% 0.19 319.7)
XYZxyz(31.9544, 19.9771, 56.8052)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254C8 #6AC854
analogous
#7854C8 #B254C8 #C854A4
triadic
#B254C8 #C8B254 #54C8B2
tetradic
#B254C8 #C87854 #6AC854 #54A4C8
square
#B254C8 #C87854 #6AC854 #54A4C8
split-complementary
#B254C8 #A4C854 #54C878
monochromatic
#6B277A #9336A9 #B254C8 #C782D7 #DCB1E6

Accessibility & contrast

On white

4.20
#B254C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B254C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254C8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254C8#FFFFFF#000000##000000
##B254C81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#B36686
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b254c8;
/* rgb */ color: rgb(178, 84, 200);
/* oklch */ color: oklch(60.8% 0.190 319.7);
Tailwind
colors: {
  custom: {
    50: '#cc89d9',
    500: '#b254c8',
    950: '#000000',
  },
}
SCSS
$custom: #b254c8;
$custom-light: #cc89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b254c8",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 288.621,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.18967,
    "h": 319.7
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

primary
#B254C8
secondary
#ADD4A4
accent
#DB4D68
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B254C8

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

Preview Lab → · Contrast checker → · Palette generator →

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