#B180D8#B180D8

#B180D8 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.135 H 308.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B180D8
RGBrgb(177, 128, 216)
HSLhsl(273, 53%, 67%)
HSVhsv(273, 41%, 85%)
CMYKcmyk(18.1%, 40.7%, 0%, 15.3%)
CIE-LABlab(61.43, 35.37, -38.02)
CIE-LCHlch(61.43, 51.92, 312.93°)
OKLaboklab(68.18% 0.0848 -0.1054)
OKLCHoklch(68.18% 0.135 308.8)
XYZxyz(38.2430, 29.7438, 68.6789)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B180D8 #A7D880
analogous
#8580D8 #B180D8 #D880D3
triadic
#B180D8 #D8B180 #80D8B1
tetradic
#B180D8 #D88580 #A7D880 #80D3D8
square
#B180D8 #D88580 #A7D880 #80D3D8
split-complementary
#B180D8 #D3D880 #80D885
monochromatic
#7534AA #9451CA #B180D8 #CEAFE6 #EBDEF5

Accessibility & contrast

On white

3.02
#B180D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B180D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B180D8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B180D8#FFFFFF#000000##000000
##B180D81.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DB
Deuteranopia (green-blind)
#7995D6
Tritanopia (blue-blind)
#AC8DA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b180d8;
/* rgb */ color: rgb(177, 128, 216);
/* oklch */ color: oklch(68.2% 0.135 308.8);
Tailwind
colors: {
  custom: {
    50: '#caa5e4',
    500: '#b180d8',
    950: '#000000',
  },
}
SCSS
$custom: #b180d8;
$custom-light: #caa5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b180d8",
  "rgb": {
    "r": 177,
    "g": 128,
    "b": 216
  },
  "hsl": {
    "h": 273.409,
    "s": 53.012,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6818,
    "c": 0.13534,
    "h": 308.8
  },
  "luminance": 0.29743
}

Semantic roles & 50–950 ramp

primary
#B180D8
secondary
#D8E8CC
accent
#C0256A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F15
muted
#827F84

Preview Lab

Preview with #B180D8

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

Preview Lab → · Contrast checker → · Palette generator →

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