#B94CD6#B94CD6

#B94CD6 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.6% C 0.217 H 318.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B94CD6
RGBrgb(185, 76, 214)
HSLhsl(287, 63%, 57%)
HSVhsv(287, 64%, 84%)
CMYKcmyk(13.6%, 64.5%, 0%, 16.1%)
CIE-LABlab(52.22, 63.40, -51.39)
CIE-LCHlch(52.22, 81.61, 320.98°)
OKLaboklab(61.55% 0.1628 -0.1438)
OKLCHoklch(61.55% 0.217 318.5)
XYZxyz(34.7280, 20.3397, 65.7020)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CD6 #69D64C
analogous
#744CD6 #B94CD6 #D64CAE
triadic
#B94CD6 #D6B94C #4CD6B9
tetradic
#B94CD6 #D6744C #69D64C #4CAED6
square
#B94CD6 #D6744C #69D64C #4CAED6
split-complementary
#B94CD6 #AED64C #4CD674
monochromatic
#721F88 #9C2BBA #B94CD6 #CC7EE1 #E0B0ED

Accessibility & contrast

On white

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

On black

5.07
#B94CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94CD6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94CD6#FFFFFF#000000##000000
##B94CD61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D75DA
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#B9648B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b94cd6;
/* rgb */ color: rgb(185, 76, 214);
/* oklch */ color: oklch(61.6% 0.217 318.5);
Tailwind
colors: {
  custom: {
    50: '#d185e3',
    500: '#b94cd6',
    950: '#000000',
  },
}
SCSS
$custom: #b94cd6;
$custom-light: #d185e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b94cd6",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 287.391,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.21718,
    "h": 318.5
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#B94CD6
secondary
#AFDBA3
accent
#E64264
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B94CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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