#B254D3#B254D3

#B254D3 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.4% C 0.200 H 316.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B254D3
RGBrgb(178, 84, 211)
HSLhsl(284, 59%, 58%)
HSVhsv(284, 60%, 83%)
CMYKcmyk(15.6%, 60.2%, 0%, 17.3%)
CIE-LABlab(52.41, 57.57, -49.43)
CIE-LCHlch(52.41, 75.88, 319.35°)
OKLaboklab(61.44% 0.145 -0.1383)
OKLCHoklch(61.44% 0.2 316.3)
XYZxyz(33.2865, 20.5100, 63.8208)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254D3 #75D354
analogous
#7254D3 #B254D3 #D354B5
triadic
#B254D3 #D3B254 #54D3B2
tetradic
#B254D3 #D37254 #75D354 #54B5D3
square
#B254D3 #D37254 #75D354 #54B5D3
split-complementary
#B254D3 #B5D354 #54D372
monochromatic
#6F2389 #9630BA #B254D3 #C885E0 #DEB5EC

Accessibility & contrast

On white

4.12
#B254D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B254D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254D3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254D3#FFFFFF#000000##000000
##B254D31.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D7
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#B06A8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b254d3;
/* rgb */ color: rgb(178, 84, 211);
/* oklch */ color: oklch(61.4% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc89e1',
    500: '#b254d3',
    950: '#000000',
  },
}
SCSS
$custom: #b254d3;
$custom-light: #cc89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b254d3",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 284.409,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.20039,
    "h": 316.3
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#B254D3
secondary
#B5DBA8
accent
#E2466E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B254D3

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

Preview Lab → · Contrast checker → · Palette generator →

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