#B95EC2#B95EC2

#B95EC2 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.7% C 0.172 H 323.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B95EC2
RGBrgb(185, 94, 194)
HSLhsl(295, 45%, 56%)
HSVhsv(295, 52%, 76%)
CMYKcmyk(4.6%, 51.5%, 0%, 23.9%)
CIE-LABlab(54.26, 51.23, -36.73)
CIE-LCHlch(54.26, 63.03, 324.36°)
OKLaboklab(62.7% 0.139 -0.1013)
OKLCHoklch(62.7% 0.172 323.9)
XYZxyz(33.7470, 22.2164, 53.5391)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95EC2 #67C25E
analogous
#875EC2 #B95EC2 #C25E99
triadic
#B95EC2 #C2B95E #5EC2B9
tetradic
#B95EC2 #C2875E #67C25E #5E99C2
square
#B95EC2 #C2875E #67C25E #5E99C2
split-complementary
#B95EC2 #99C25E #5EC287
monochromatic
#712E78 #9B3EA4 #B95EC2 #CC8AD3 #E0B7E4

Accessibility & contrast

On white

3.86
#B95EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B95EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95EC2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95EC2#FFFFFF#000000##000000
##B95EC21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507BC5
Deuteranopia (green-blind)
#6D86BF
Tritanopia (blue-blind)
#BC6B87
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b95ec2;
/* rgb */ color: rgb(185, 94, 194);
/* oklch */ color: oklch(62.7% 0.172 323.9);
Tailwind
colors: {
  custom: {
    50: '#d08fd5',
    500: '#b95ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b95ec2;
$custom-light: #d08fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ec2",
  "rgb": {
    "r": 185,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 294.6,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62699,
    "c": 0.17203,
    "h": 323.9
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#B95EC2
secondary
#ADD2A9
accent
#D5535F
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #B95EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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