#B94FD7#B94FD7

#B94FD7 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.214 H 318.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B94FD7
RGBrgb(185, 79, 215)
HSLhsl(287, 63%, 58%)
HSVhsv(287, 63%, 84%)
CMYKcmyk(14%, 63.3%, 0%, 15.7%)
CIE-LABlab(52.75, 62.30, -51.12)
CIE-LCHlch(52.75, 80.58, 320.63°)
OKLaboklab(61.95% 0.1593 -0.143)
OKLCHoklch(61.95% 0.214 318.1)
XYZxyz(35.0676, 20.8140, 66.4471)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94FD7 #6DD74F
analogous
#754FD7 #B94FD7 #D74FB1
triadic
#B94FD7 #D7B94F #4FD7B9
tetradic
#B94FD7 #D7754F #6DD74F #4FB1D7
square
#B94FD7 #D7754F #6DD74F #4FB1D7
split-complementary
#B94FD7 #B1D74F #4FD775
monochromatic
#74208C #9D2BBE #B94FD7 #CD81E2 #E1B3EE

Accessibility & contrast

On white

4.07
#B94FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B94FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94FD7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94FD7#FFFFFF#000000##000000
##B94FD71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DB
Deuteranopia (green-blind)
#5581D4
Tritanopia (blue-blind)
#B8678C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b94fd7;
/* rgb */ color: rgb(185, 79, 215);
/* oklch */ color: oklch(62.0% 0.214 318.1);
Tailwind
colors: {
  custom: {
    50: '#d187e4',
    500: '#b94fd7',
    950: '#000000',
  },
}
SCSS
$custom: #b94fd7;
$custom-light: #d187e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b94fd7",
  "rgb": {
    "r": 185,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 286.765,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6195,
    "c": 0.21411,
    "h": 318.1
  },
  "luminance": 0.20813
}

Semantic roles & 50–950 ramp

primary
#B94FD7
secondary
#B2DCA6
accent
#E64266
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B94FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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