#B940CE#B940CE

#B940CE is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.225 H 321.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B940CE
RGBrgb(185, 64, 206)
HSLhsl(291, 59%, 53%)
HSVhsv(291, 69%, 81%)
CMYKcmyk(10.2%, 68.9%, 0%, 19.2%)
CIE-LABlab(50.02, 66.76, -50.32)
CIE-LCHlch(50.02, 83.60, 323.00°)
OKLaboklab(59.83% 0.1759 -0.1406)
OKLCHoklch(59.83% 0.225 321.4)
XYZxyz(32.9803, 18.4391, 60.2025)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B940CE #55CE40
analogous
#7240CE #B940CE #CE409C
triadic
#B940CE #CEB940 #40CEB9
tetradic
#B940CE #CE7240 #55CE40 #409CCE
square
#B940CE #CE7240 #55CE40 #409CCE
split-complementary
#B940CE #9CCE40 #40CE72
monochromatic
#691E75 #942BA6 #B940CE #CB71DA #DDA1E7

Accessibility & contrast

On white

4.48
#B940CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B940CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B940CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B940CE#FFFFFF#000000##000000
##B940CE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#056ED2
Deuteranopia (green-blind)
#517BCB
Tritanopia (blue-blind)
#BB5983
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b940ce;
/* rgb */ color: rgb(185, 64, 206);
/* oklch */ color: oklch(59.8% 0.225 321.4);
Tailwind
colors: {
  custom: {
    50: '#d27fdd',
    500: '#b940ce',
    950: '#000000',
  },
}
SCSS
$custom: #b940ce;
$custom-light: #d27fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b940ce",
  "rgb": {
    "r": 185,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 291.127,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.22518,
    "h": 321.4
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#B940CE
secondary
#9FD496
accent
#E2455D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #B940CE

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

Preview Lab → · Contrast checker → · Palette generator →

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