#B94FC7#B94FC7

#B94FC7 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.199 H 322.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B94FC7
RGBrgb(185, 79, 199)
HSLhsl(293, 52%, 55%)
HSVhsv(293, 60%, 78%)
CMYKcmyk(7%, 60.3%, 0%, 22%)
CIE-LABlab(51.87, 59.26, -43.36)
CIE-LCHlch(51.87, 73.43, 323.81°)
OKLaboklab(61.04% 0.159 -0.1204)
OKLCHoklch(61.04% 0.199 322.9)
XYZxyz(33.1113, 20.0315, 56.1441)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94FC7 #5DC74F
analogous
#7D4FC7 #B94FC7 #C74F99
triadic
#B94FC7 #C7B94F #4FC7B9
tetradic
#B94FC7 #C77D4F #5DC74F #4F99C7
square
#B94FC7 #C77D4F #5DC74F #4F99C7
split-complementary
#B94FC7 #99C74F #4FC77D
monochromatic
#6D2676 #9734A4 #B94FC7 #CB7DD6 #DEACE5

Accessibility & contrast

On white

4.19
#B94FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B94FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94FC7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94FC7#FFFFFF#000000##000000
##B94FC71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CB
Deuteranopia (green-blind)
#5F80C4
Tritanopia (blue-blind)
#BC6184
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94fc7;
/* rgb */ color: rgb(185, 79, 199);
/* oklch */ color: oklch(61.0% 0.199 322.9);
Tailwind
colors: {
  custom: {
    50: '#d187d8',
    500: '#b94fc7',
    950: '#000000',
  },
}
SCSS
$custom: #b94fc7;
$custom-light: #d187d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b94fc7",
  "rgb": {
    "r": 185,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 293,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61035,
    "c": 0.19943,
    "h": 322.9
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#B94FC7
secondary
#A5D2A0
accent
#DB4D5D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B94FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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