#B254CF#B254CF

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

Color values

HEX#B254CF
RGBrgb(178, 84, 207)
HSLhsl(286, 56%, 57%)
HSVhsv(286, 59%, 81%)
CMYKcmyk(14%, 59.4%, 0%, 18.8%)
CIE-LABlab(52.19, 56.77, -47.50)
CIE-LCHlch(52.19, 74.02, 320.08°)
OKLaboklab(61.21% 0.1449 -0.1327)
OKLCHoklch(61.21% 0.196 317.5)
XYZxyz(32.7913, 20.3119, 61.2127)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254CF #71CF54
analogous
#7554CF #B254CF #CF54AE
triadic
#B254CF #CFB254 #54CFB2
tetradic
#B254CF #CF7554 #71CF54 #54AECF
square
#B254CF #CF7554 #71CF54 #54AECF
split-complementary
#B254CF #AECF54 #54CF75
monochromatic
#6D2584 #9532B3 #B254CF #C884DC #DDB4EA

Accessibility & contrast

On white

4.15
#B254CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B254CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254CF#FFFFFF#000000##000000
##B254CF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#587FCC
Tritanopia (blue-blind)
#B1688A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b254cf;
/* rgb */ color: rgb(178, 84, 207);
/* oklch */ color: oklch(61.2% 0.196 317.5);
Tailwind
colors: {
  custom: {
    50: '#cc89de',
    500: '#b254cf',
    950: '#000000',
  },
}
SCSS
$custom: #b254cf;
$custom-light: #cc89de;
$custom-dark: #000000;
JSON
{
  "hex": "#b254cf",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 285.854,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.19647,
    "h": 317.5
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#B254CF
secondary
#B2D8A6
accent
#DF486C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B254CF

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

Preview Lab → · Contrast checker → · Palette generator →

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