#B950C2#B950C2

#B950C2 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.9% C 0.193 H 324.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B950C2
RGBrgb(185, 80, 194)
HSLhsl(295, 48%, 54%)
HSVhsv(295, 59%, 76%)
CMYKcmyk(4.6%, 58.8%, 0%, 23.9%)
CIE-LABlab(51.78, 57.89, -40.63)
CIE-LCHlch(51.78, 70.72, 324.94°)
OKLaboklab(60.88% 0.1574 -0.1125)
OKLCHoklch(60.88% 0.193 324.4)
XYZxyz(32.6130, 19.9485, 53.1611)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950C2 #59C250
analogous
#8050C2 #B950C2 #C25092
triadic
#B950C2 #C2B950 #50C2B9
tetradic
#B950C2 #C28050 #59C250 #5092C2
square
#B950C2 #C28050 #59C250 #5092C2
split-complementary
#B950C2 #92C250 #50C280
monochromatic
#6B2770 #96379E #B950C2 #CB7DD2 #DDABE2

Accessibility & contrast

On white

4.21
#B950C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B950C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950C2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950C2#FFFFFF#000000##000000
##B950C21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C6
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#BD6082
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b950c2;
/* rgb */ color: rgb(185, 80, 194);
/* oklch */ color: oklch(60.9% 0.193 324.4);
Tailwind
colors: {
  custom: {
    50: '#d187d5',
    500: '#b950c2',
    950: '#000000',
  },
}
SCSS
$custom: #b950c2;
$custom-light: #d187d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b950c2",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 295.263,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60883,
    "c": 0.19349,
    "h": 324.4
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#B950C2
secondary
#A2CF9F
accent
#D8505B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B950C2

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

Preview Lab → · Contrast checker → · Palette generator →

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