#B178CA#B178CA

#B178CA is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.2% C 0.132 H 315.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B178CA
RGBrgb(177, 120, 202)
HSLhsl(282, 44%, 63%)
HSVhsv(282, 41%, 79%)
CMYKcmyk(12.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(59.02, 36.76, -33.91)
CIE-LCHlch(59.02, 50.01, 317.31°)
OKLaboklab(66.16% 0.0937 -0.0936)
OKLCHoklch(66.16% 0.132 315)
XYZxyz(35.5069, 27.0452, 59.2155)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178CA #91CA78
analogous
#8878CA #B178CA #CA78BA
triadic
#B178CA #CAB178 #78CAB1
tetradic
#B178CA #CA8878 #91CA78 #78BACA
square
#B178CA #CA8878 #91CA78 #78BACA
split-complementary
#B178CA #BACA78 #78CA88
monochromatic
#75388F #984CB9 #B178CA #CAA4DB #E4D0ED

Accessibility & contrast

On white

3.28
#B178CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B178CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178CA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178CA#FFFFFF#000000##000000
##B178CA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#7890C8
Tritanopia (blue-blind)
#B08397
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b178ca;
/* rgb */ color: rgb(177, 120, 202);
/* oklch */ color: oklch(66.2% 0.132 315.0);
Tailwind
colors: {
  custom: {
    50: '#c9a0da',
    500: '#b178ca',
    950: '#000000',
  },
}
SCSS
$custom: #b178ca;
$custom-light: #c9a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#b178ca",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 281.707,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66157,
    "c": 0.13243,
    "h": 315
  },
  "luminance": 0.27044
}

Semantic roles & 50–950 ramp

primary
#B178CA
secondary
#C9DEC0
accent
#B72F58
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130F15
muted
#827E83

Preview Lab

Preview with #B178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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