#B95EC4#B95EC4

#B95EC4 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.8% C 0.174 H 323.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B95EC4
RGBrgb(185, 94, 196)
HSLhsl(294, 46%, 57%)
HSVhsv(294, 52%, 77%)
CMYKcmyk(5.6%, 52%, 0%, 23.1%)
CIE-LABlab(54.35, 51.61, -37.73)
CIE-LCHlch(54.35, 63.92, 323.83°)
OKLaboklab(62.8% 0.1393 -0.1042)
OKLCHoklch(62.8% 0.174 323.2)
XYZxyz(33.9731, 22.3068, 54.7300)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95EC4 #69C45E
analogous
#865EC4 #B95EC4 #C45E9C
triadic
#B95EC4 #C4B95E #5EC4B9
tetradic
#B95EC4 #C4865E #69C45E #5E9CC4
square
#B95EC4 #C4865E #69C45E #5E9CC4
split-complementary
#B95EC4 #9CC45E #5EC486
monochromatic
#722D7B #9C3DA7 #B95EC4 #CC8BD4 #E0B8E5

Accessibility & contrast

On white

3.85
#B95EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B95EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95EC4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95EC4#FFFFFF#000000##000000
##B95EC41.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#6C86C1
Tritanopia (blue-blind)
#BC6B88
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b95ec4;
/* rgb */ color: rgb(185, 94, 196);
/* oklch */ color: oklch(62.8% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#d08fd6',
    500: '#b95ec4',
    950: '#000000',
  },
}
SCSS
$custom: #b95ec4;
$custom-light: #d08fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ec4",
  "rgb": {
    "r": 185,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 293.529,
    "s": 46.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62801,
    "c": 0.17395,
    "h": 323.2
  },
  "luminance": 0.22305
}

Semantic roles & 50–950 ramp

primary
#B95EC4
secondary
#AFD4AA
accent
#D65260
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #B95EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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