#B155CF#B155CF

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

Color values

HEX#B155CF
RGBrgb(177, 85, 207)
HSLhsl(285, 56%, 57%)
HSVhsv(285, 59%, 81%)
CMYKcmyk(14.5%, 58.9%, 0%, 18.8%)
CIE-LABlab(52.23, 56.04, -47.44)
CIE-LCHlch(52.23, 73.43, 319.75°)
OKLaboklab(61.21% 0.1424 -0.1326)
OKLCHoklch(61.21% 0.195 317.1)
XYZxyz(32.6408, 20.3503, 61.2280)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155CF #73CF55
analogous
#7455CF #B155CF #CF55B0
triadic
#B155CF #CFB155 #55CFB1
tetradic
#B155CF #CF7455 #73CF55 #55B0CF
square
#B155CF #CF7455 #73CF55 #55B0CF
split-complementary
#B155CF #B0CF55 #55CF74
monochromatic
#6D2584 #9433B4 #B155CF #C785DC #DDB4EA

Accessibility & contrast

On white

4.14
#B155CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B155CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155CF#FFFFFF#000000##000000
##B155CF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#587FCC
Tritanopia (blue-blind)
#B0698A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b155cf;
/* rgb */ color: rgb(177, 85, 207);
/* oklch */ color: oklch(61.2% 0.195 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb8ade',
    500: '#b155cf',
    950: '#000000',
  },
}
SCSS
$custom: #b155cf;
$custom-light: #cb8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#b155cf",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 285.246,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.19457,
    "h": 317.1
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#B155CF
secondary
#B3D9A7
accent
#DF496E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B155CF

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

Preview Lab → · Contrast checker → · Palette generator →

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