#B154CD#B154CD

#B154CD is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.194 H 317.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B154CD
RGBrgb(177, 84, 205)
HSLhsl(286, 55%, 57%)
HSVhsv(286, 59%, 80%)
CMYKcmyk(13.7%, 59%, 0%, 19.6%)
CIE-LABlab(51.95, 56.12, -46.75)
CIE-LCHlch(51.95, 73.04, 320.20°)
OKLaboklab(60.97% 0.1436 -0.1305)
OKLCHoklch(60.97% 0.194 317.7)
XYZxyz(32.3197, 20.0968, 59.9224)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154CD #70CD54
analogous
#7554CD #B154CD #CD54AC
triadic
#B154CD #CDB154 #54CDB1
tetradic
#B154CD #CD7554 #70CD54 #54ACCD
square
#B154CD #CD7554 #70CD54 #54ACCD
split-complementary
#B154CD #ACCD54 #54CD75
monochromatic
#6C2681 #9334B0 #B154CD #C783DB #DCB3E9

Accessibility & contrast

On white

4.18
#B154CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B154CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154CD#FFFFFF#000000##000000
##B154CD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#B06889
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b154cd;
/* rgb */ color: rgb(177, 84, 205);
/* oklch */ color: oklch(61.0% 0.194 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb89dd',
    500: '#b154cd',
    950: '#000000',
  },
}
SCSS
$custom: #b154cd;
$custom-light: #cb89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b154cd",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 286.116,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.19407,
    "h": 317.7
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#B154CD
secondary
#B1D7A6
accent
#DE4A6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B154CD

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

Preview Lab → · Contrast checker → · Palette generator →

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