#B254CE#B254CE

#B254CE is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.196 H 317.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B254CE
RGBrgb(178, 84, 206)
HSLhsl(286, 55%, 57%)
HSVhsv(286, 59%, 81%)
CMYKcmyk(13.6%, 59.2%, 0%, 19.2%)
CIE-LABlab(52.13, 56.57, -47.02)
CIE-LCHlch(52.13, 73.55, 320.27°)
OKLaboklab(61.15% 0.1449 -0.1313)
OKLCHoklch(61.15% 0.196 317.8)
XYZxyz(32.6694, 20.2631, 60.5708)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254CE #70CE54
analogous
#7554CE #B254CE #CE54AD
triadic
#B254CE #CEB254 #54CEB2
tetradic
#B254CE #CE7554 #70CE54 #54ADCE
square
#B254CE #CE7554 #70CE54 #54ADCE
split-complementary
#B254CE #ADCE54 #54CE75
monochromatic
#6D2582 #9533B2 #B254CE #C784DC #DDB3E9

Accessibility & contrast

On white

4.16
#B254CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B254CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254CE#FFFFFF#000000##000000
##B254CE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#B16889
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b254ce;
/* rgb */ color: rgb(178, 84, 206);
/* oklch */ color: oklch(61.1% 0.196 317.8);
Tailwind
colors: {
  custom: {
    50: '#cc89dd',
    500: '#b254ce',
    950: '#000000',
  },
}
SCSS
$custom: #b254ce;
$custom-light: #cc89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b254ce",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 286.23,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61148,
    "c": 0.1955,
    "h": 317.8
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#B254CE
secondary
#B1D8A6
accent
#DF496B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B254CE

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

Preview Lab → · Contrast checker → · Palette generator →

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