#B180EA#B180EA

#B180EA is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.157 H 303.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B180EA
RGBrgb(177, 128, 234)
HSLhsl(268, 72%, 71%)
HSVhsv(268, 45%, 92%)
CMYKcmyk(24.4%, 45.3%, 0%, 8.2%)
CIE-LABlab(62.28, 39.47, -46.72)
CIE-LCHlch(62.28, 61.16, 310.19°)
OKLaboklab(69.09% 0.0878 -0.1306)
OKLCHoklch(69.09% 0.157 303.9)
XYZxyz(40.6987, 30.7261, 81.6126)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B180EA #B9EA80
analogous
#8084EA #B180EA #E680EA
triadic
#B180EA #EAB180 #80EAB1
tetradic
#B180EA #EA8084 #B9EA80 #80EAE6
square
#B180EA #EA8084 #B9EA80 #80EAE6
split-complementary
#B180EA #EAE680 #84EA80
monochromatic
#7122CE #914BE1 #B180EA #D1B5F3 #EFE5FB

Accessibility & contrast

On white

2.94
#B180EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B180EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B180EA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B180EA#FFFFFF#000000##000000
##B180EA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#6F97E7
Tritanopia (blue-blind)
#A792AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b180ea;
/* rgb */ color: rgb(177, 128, 234);
/* oklch */ color: oklch(69.1% 0.157 303.9);
Tailwind
colors: {
  custom: {
    50: '#caa6f1',
    500: '#b180ea',
    950: '#000000',
  },
}
SCSS
$custom: #b180ea;
$custom-light: #caa6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b180ea",
  "rgb": {
    "r": 177,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 267.736,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6909,
    "c": 0.15741,
    "h": 303.9
  },
  "luminance": 0.30726
}

Semantic roles & 50–950 ramp

primary
#B180EA
secondary
#E4F1D5
accent
#D4127A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B180EA

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

Preview Lab → · Contrast checker → · Palette generator →

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