#B94DD7#B94DD7

#B94DD7 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.217 H 318.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B94DD7
RGBrgb(185, 77, 215)
HSLhsl(287, 63%, 57%)
HSVhsv(287, 64%, 84%)
CMYKcmyk(14%, 64.2%, 0%, 15.7%)
CIE-LABlab(52.43, 63.17, -51.62)
CIE-LCHlch(52.43, 81.57, 320.75°)
OKLaboklab(61.72% 0.1616 -0.1445)
OKLCHoklch(61.72% 0.217 318.2)
XYZxyz(34.9255, 20.5298, 66.3997)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94DD7 #6BD74D
analogous
#744DD7 #B94DD7 #D74DB0
triadic
#B94DD7 #D7B94D #4DD7B9
tetradic
#B94DD7 #D7744D #6BD74D #4DB0D7
square
#B94DD7 #D7744D #6BD74D #4DB0D7
split-complementary
#B94DD7 #B0D74D #4DD774
monochromatic
#731F8A #9D2ABC #B94DD7 #CD7FE2 #E0B1ED

Accessibility & contrast

On white

4.11
#B94DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B94DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94DD7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94DD7#FFFFFF#000000##000000
##B94DD71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E76DB
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#B8658B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b94dd7;
/* rgb */ color: rgb(185, 77, 215);
/* oklch */ color: oklch(61.7% 0.217 318.2);
Tailwind
colors: {
  custom: {
    50: '#d186e4',
    500: '#b94dd7',
    950: '#000000',
  },
}
SCSS
$custom: #b94dd7;
$custom-light: #d186e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b94dd7",
  "rgb": {
    "r": 185,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 286.957,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.21678,
    "h": 318.2
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#B94DD7
secondary
#B0DCA4
accent
#E64165
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B94DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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