#B154CF#B154CF

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

Color values

HEX#B154CF
RGBrgb(177, 84, 207)
HSLhsl(285, 56%, 57%)
HSVhsv(285, 59%, 81%)
CMYKcmyk(14.5%, 59.4%, 0%, 18.8%)
CIE-LABlab(52.06, 56.52, -47.72)
CIE-LCHlch(52.06, 73.97, 319.83°)
OKLaboklab(61.08% 0.1437 -0.1334)
OKLCHoklch(61.08% 0.196 317.1)
XYZxyz(32.5626, 20.1940, 61.2019)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154CF #72CF54
analogous
#7454CF #B154CF #CF54AF
triadic
#B154CF #CFB154 #54CFB1
tetradic
#B154CF #CF7454 #72CF54 #54AFCF
square
#B154CF #CF7454 #72CF54 #54AFCF
split-complementary
#B154CF #AFCF54 #54CF74
monochromatic
#6D2584 #9432B3 #B154CF #C784DC #DDB4EA

Accessibility & contrast

On white

4.17
#B154CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B154CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154CF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154CF#FFFFFF#000000##000000
##B154CF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#B0698A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b154cf;
/* rgb */ color: rgb(177, 84, 207);
/* oklch */ color: oklch(61.1% 0.196 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb89de',
    500: '#b154cf',
    950: '#000000',
  },
}
SCSS
$custom: #b154cf;
$custom-light: #cb89de;
$custom-dark: #000000;
JSON
{
  "hex": "#b154cf",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 285.366,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.19604,
    "h": 317.1
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#B154CF
secondary
#B3D8A6
accent
#DF486D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B154CF

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

Preview Lab → · Contrast checker → · Palette generator →

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