#B892EC#B892EC

#B892EC is a light, vivid violet. Relative luminance 0.368; OKLCH L 72.9% C 0.133 H 302.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B892EC
RGBrgb(184, 146, 236)
HSLhsl(265, 70%, 75%)
HSVhsv(265, 38%, 93%)
CMYKcmyk(22%, 38.1%, 0%, 7.5%)
CIE-LABlab(67.13, 31.91, -40.15)
CIE-LCHlch(67.13, 51.28, 308.47°)
OKLaboklab(72.94% 0.0716 -0.1115)
OKLCHoklch(72.94% 0.133 302.7)
XYZxyz(45.1831, 36.8043, 84.0642)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B892EC #C6EC92
analogous
#9299EC #B892EC #E592EC
triadic
#B892EC #ECB892 #92ECB8
tetradic
#B892EC #EC9299 #C6EC92 #92ECE5
square
#B892EC #EC9299 #C6EC92 #92ECE5
split-complementary
#B892EC #ECE592 #99EC92
monochromatic
#742ADA #965EE3 #B892EC #DAC6F5 #EEE5FA

Accessibility & contrast

On white

2.51
#B892EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B892EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B892EC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B892EC#FFFFFF#000000##000000
##B892EC1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#84A3EA
Tritanopia (blue-blind)
#AFA0B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b892ec;
/* rgb */ color: rgb(184, 146, 236);
/* oklch */ color: oklch(72.9% 0.133 302.7);
Tailwind
colors: {
  custom: {
    50: '#cfb2f2',
    500: '#b892ec',
    950: '#000000',
  },
}
SCSS
$custom: #b892ec;
$custom-light: #cfb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b892ec",
  "rgb": {
    "r": 184,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 265.333,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72937,
    "c": 0.13252,
    "h": 302.7
  },
  "luminance": 0.36804
}

Semantic roles & 50–950 ramp

primary
#B892EC
secondary
#E7F2D9
accent
#D21382
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B892EC

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

Preview Lab → · Contrast checker → · Palette generator →

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