#B94BD7#B94BD7

#B94BD7 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.5% C 0.219 H 318.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B94BD7
RGBrgb(185, 75, 215)
HSLhsl(287, 64%, 57%)
HSVhsv(287, 65%, 84%)
CMYKcmyk(14%, 65.1%, 0%, 15.7%)
CIE-LABlab(52.12, 64.02, -52.11)
CIE-LCHlch(52.12, 82.55, 320.86°)
OKLaboklab(61.5% 0.1639 -0.1459)
OKLCHoklch(61.5% 0.219 318.3)
XYZxyz(34.7877, 20.2542, 66.3538)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94BD7 #69D74B
analogous
#734BD7 #B94BD7 #D74BAF
triadic
#B94BD7 #D7B94B #4BD7B9
tetradic
#B94BD7 #D7734B #69D74B #4BAFD7
square
#B94BD7 #D7734B #69D74B #4BAFD7
split-complementary
#B94BD7 #AFD74B #4BD773
monochromatic
#721E89 #9C2ABB #B94BD7 #CC7DE2 #E0AFED

Accessibility & contrast

On white

4.16
#B94BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B94BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94BD7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94BD7#FFFFFF#000000##000000
##B94BD71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1775DB
Deuteranopia (green-blind)
#5280D4
Tritanopia (blue-blind)
#B9648B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94bd7;
/* rgb */ color: rgb(185, 75, 215);
/* oklch */ color: oklch(61.5% 0.219 318.3);
Tailwind
colors: {
  custom: {
    50: '#d285e4',
    500: '#b94bd7',
    950: '#000000',
  },
}
SCSS
$custom: #b94bd7;
$custom-light: #d285e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b94bd7",
  "rgb": {
    "r": 185,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 287.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.21941,
    "h": 318.3
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#B94BD7
secondary
#AFDBA2
accent
#E74165
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B94BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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