#B95EC7#B95EC7

#B95EC7 is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.0% C 0.177 H 322.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B95EC7
RGBrgb(185, 94, 199)
HSLhsl(292, 48%, 57%)
HSVhsv(292, 53%, 78%)
CMYKcmyk(7%, 52.8%, 0%, 22%)
CIE-LABlab(54.50, 52.18, -39.22)
CIE-LCHlch(54.50, 65.27, 323.07°)
OKLaboklab(62.95% 0.1396 -0.1085)
OKLCHoklch(62.95% 0.177 322.1)
XYZxyz(34.3180, 22.4448, 56.5464)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95EC7 #6CC75E
analogous
#855EC7 #B95EC7 #C75EA1
triadic
#B95EC7 #C7B95E #5EC7B9
tetradic
#B95EC7 #C7855E #6CC75E #5EA1C7
square
#B95EC7 #C7855E #6CC75E #5EA1C7
split-complementary
#B95EC7 #A1C75E #5EC785
monochromatic
#742C7F #9D3CAC #B95EC7 #CD8BD7 #E0B9E7

Accessibility & contrast

On white

3.83
#B95EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B95EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95EC7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95EC7#FFFFFF#000000##000000
##B95EC71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCA
Deuteranopia (green-blind)
#6A86C4
Tritanopia (blue-blind)
#BB6C8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b95ec7;
/* rgb */ color: rgb(185, 94, 199);
/* oklch */ color: oklch(63.0% 0.177 322.1);
Tailwind
colors: {
  custom: {
    50: '#d08fd8',
    500: '#b95ec7',
    950: '#000000',
  },
}
SCSS
$custom: #b95ec7;
$custom-light: #d08fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ec7",
  "rgb": {
    "r": 185,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 292,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62954,
    "c": 0.17684,
    "h": 322.1
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#B95EC7
secondary
#B1D6AB
accent
#D85062
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #B95EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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