#B950C7#B950C7

#B950C7 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.198 H 322.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B950C7
RGBrgb(185, 80, 199)
HSLhsl(293, 52%, 55%)
HSVhsv(293, 60%, 78%)
CMYKcmyk(7%, 59.8%, 0%, 22%)
CIE-LABlab(52.04, 58.81, -43.10)
CIE-LCHlch(52.04, 72.91, 323.77°)
OKLaboklab(61.15% 0.1577 -0.1197)
OKLCHoklch(61.15% 0.198 322.8)
XYZxyz(33.1840, 20.1769, 56.1684)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950C7 #5EC750
analogous
#7E50C7 #B950C7 #C7509A
triadic
#B950C7 #C7B950 #50C7B9
tetradic
#B950C7 #C77E50 #5EC750 #509AC7
square
#B950C7 #C77E50 #5EC750 #509AC7
split-complementary
#B950C7 #9AC750 #50C77E
monochromatic
#6D2677 #9835A5 #B950C7 #CC7ED6 #DEADE5

Accessibility & contrast

On white

4.17
#B950C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B950C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950C7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950C7#FFFFFF#000000##000000
##B950C71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#6080C4
Tritanopia (blue-blind)
#BC6284
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b950c7;
/* rgb */ color: rgb(185, 80, 199);
/* oklch */ color: oklch(61.2% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#d187d8',
    500: '#b950c7',
    950: '#000000',
  },
}
SCSS
$custom: #b950c7;
$custom-light: #d187d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b950c7",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 292.941,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.198,
    "h": 322.8
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#B950C7
secondary
#A6D2A0
accent
#DB4D5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B950C7

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

Preview Lab → · Contrast checker → · Palette generator →

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