#B187EA#B187EA

#B187EA is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.146 H 302.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B187EA
RGBrgb(177, 135, 234)
HSLhsl(265, 70%, 72%)
HSVhsv(265, 42%, 92%)
CMYKcmyk(24.4%, 42.3%, 0%, 8.2%)
CIE-LABlab(63.85, 35.58, -44.24)
CIE-LCHlch(63.85, 56.77, 308.81°)
OKLaboklab(70.27% 0.0782 -0.1235)
OKLCHoklch(70.27% 0.146 302.4)
XYZxyz(41.6435, 32.6156, 81.9275)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B187EA #C0EA87
analogous
#878EEA #B187EA #E387EA
triadic
#B187EA #EAB187 #87EAB1
tetradic
#B187EA #EA878E #C0EA87 #87EAE3
square
#B187EA #EA878E #C0EA87 #87EAE3
split-complementary
#B187EA #EAE387 #8EEA87
monochromatic
#6E25D2 #8F53E1 #B187EA #D3BBF3 #EEE5FA

Accessibility & contrast

On white

2.79
#B187EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B187EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B187EA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B187EA#FFFFFF#000000##000000
##B187EA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#A798AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b187ea;
/* rgb */ color: rgb(177, 135, 234);
/* oklch */ color: oklch(70.3% 0.146 302.4);
Tailwind
colors: {
  custom: {
    50: '#caaaf1',
    500: '#b187ea',
    950: '#000000',
  },
}
SCSS
$custom: #b187ea;
$custom-light: #caaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b187ea",
  "rgb": {
    "r": 177,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 265.455,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.14617,
    "h": 302.4
  },
  "luminance": 0.32616
}

Semantic roles & 50–950 ramp

primary
#B187EA
secondary
#E7F2D9
accent
#D21381
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B187EA

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

Preview Lab → · Contrast checker → · Palette generator →

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