#B180E8#B180E8

#B180E8 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.155 H 304.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#B180E8
RGBrgb(177, 128, 232)
HSLhsl(268, 69%, 71%)
HSVhsv(268, 45%, 91%)
CMYKcmyk(23.7%, 44.8%, 0%, 9%)
CIE-LABlab(62.18, 39.00, -45.76)
CIE-LCHlch(62.18, 60.13, 310.44°)
OKLaboklab(68.99% 0.0875 -0.1279)
OKLCHoklch(68.99% 0.155 304.4)
XYZxyz(40.4130, 30.6118, 80.1079)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B180E8 #B7E880
analogous
#8083E8 #B180E8 #E580E8
triadic
#B180E8 #E8B180 #80E8B1
tetradic
#B180E8 #E88083 #B7E880 #80E8E5
square
#B180E8 #E88083 #B7E880 #80E8E5
split-complementary
#B180E8 #E8E580 #83E880
monochromatic
#7224C9 #914CDF #B180E8 #D1B4F1 #EFE5FA

Accessibility & contrast

On white

2.95
#B180E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#B180E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B180E8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B180E8#FFFFFF#000000##000000
##B180E81.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#7096E5
Tritanopia (blue-blind)
#A892A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b180e8;
/* rgb */ color: rgb(177, 128, 232);
/* oklch */ color: oklch(69.0% 0.155 304.4);
Tailwind
colors: {
  custom: {
    50: '#caa6f0',
    500: '#b180e8',
    950: '#000000',
  },
}
SCSS
$custom: #b180e8;
$custom-light: #caa6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b180e8",
  "rgb": {
    "r": 177,
    "g": 128,
    "b": 232
  },
  "hsl": {
    "h": 268.269,
    "s": 69.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68985,
    "c": 0.15495,
    "h": 304.4
  },
  "luminance": 0.30612
}

Semantic roles & 50–950 ramp

primary
#B180E8
secondary
#E3F0D4
accent
#D11478
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B180E8

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

Preview Lab → · Contrast checker → · Palette generator →

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