#B94CD7#B94CD7

#B94CD7 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.218 H 318.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B94CD7
RGBrgb(185, 76, 215)
HSLhsl(287, 63%, 57%)
HSVhsv(287, 65%, 84%)
CMYKcmyk(14%, 64.7%, 0%, 15.7%)
CIE-LABlab(52.28, 63.60, -51.86)
CIE-LCHlch(52.28, 82.06, 320.80°)
OKLaboklab(61.61% 0.1627 -0.1452)
OKLCHoklch(61.61% 0.218 318.3)
XYZxyz(34.8561, 20.3910, 66.3766)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CD7 #6AD74C
analogous
#734CD7 #B94CD7 #D74CB0
triadic
#B94CD7 #D7B94C #4CD7B9
tetradic
#B94CD7 #D7734C #6AD74C #4CB0D7
square
#B94CD7 #D7734C #6AD74C #4CB0D7
split-complementary
#B94CD7 #B0D74C #4CD773
monochromatic
#731F8A #9C2ABC #B94CD7 #CD7EE2 #E0B0ED

Accessibility & contrast

On white

4.14
#B94CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B94CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94CD7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94CD7#FFFFFF#000000##000000
##B94CD71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b94cd7;
/* rgb */ color: rgb(185, 76, 215);
/* oklch */ color: oklch(61.6% 0.218 318.3);
Tailwind
colors: {
  custom: {
    50: '#d185e4',
    500: '#b94cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b94cd7;
$custom-light: #d185e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b94cd7",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 287.05,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.2181,
    "h": 318.3
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B94CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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