#B945CE#B945CE

#B945CE is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.219 H 321.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B945CE
RGBrgb(185, 69, 206)
HSLhsl(291, 58%, 54%)
HSVhsv(291, 67%, 81%)
CMYKcmyk(10.2%, 66.5%, 0%, 19.2%)
CIE-LABlab(50.72, 64.81, -49.21)
CIE-LCHlch(50.72, 81.37, 322.79°)
OKLaboklab(60.33% 0.1706 -0.1374)
OKLCHoklch(60.33% 0.219 321.2)
XYZxyz(33.2750, 19.0285, 60.3007)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945CE #5ACE45
analogous
#7545CE #B945CE #CE459F
triadic
#B945CE #CEB945 #45CEB9
tetradic
#B945CE #CE7545 #5ACE45 #459FCE
square
#B945CE #CE7545 #5ACE45 #459FCE
split-complementary
#B945CE #9FCE45 #45CE75
monochromatic
#6B2079 #962DA9 #B945CE #CB75DB #DDA6E8

Accessibility & contrast

On white

4.37
#B945CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B945CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B945CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945CE#FFFFFF#000000##000000
##B945CE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A71D2
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#BB5D84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b945ce;
/* rgb */ color: rgb(185, 69, 206);
/* oklch */ color: oklch(60.3% 0.219 321.2);
Tailwind
colors: {
  custom: {
    50: '#d281dd',
    500: '#b945ce',
    950: '#000000',
  },
}
SCSS
$custom: #b945ce;
$custom-light: #d281dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b945ce",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 290.803,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.21907,
    "h": 321.2
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#B945CE
secondary
#A3D59A
accent
#E2465E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B945CE

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

Preview Lab → · Contrast checker → · Palette generator →

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