#B948CE#B948CE

#B948CE is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.215 H 321.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B948CE
RGBrgb(185, 72, 206)
HSLhsl(291, 58%, 55%)
HSVhsv(291, 65%, 81%)
CMYKcmyk(10.2%, 65%, 0%, 19.2%)
CIE-LABlab(51.16, 63.58, -48.51)
CIE-LCHlch(51.16, 79.97, 322.66°)
OKLaboklab(60.64% 0.1673 -0.1354)
OKLCHoklch(60.64% 0.215 321)
XYZxyz(33.4643, 19.4069, 60.3638)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948CE #5DCE48
analogous
#7648CE #B948CE #CE48A0
triadic
#B948CE #CEB948 #48CEB9
tetradic
#B948CE #CE7648 #5DCE48 #48A0CE
square
#B948CE #CE7648 #5DCE48 #48A0CE
split-complementary
#B948CE #A0CE48 #48CE76
monochromatic
#6D217B #972EAB #B948CE #CB78DB #DEA9E8

Accessibility & contrast

On white

4.30
#B948CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B948CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948CE#FFFFFF#000000##000000
##B948CE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#BA5F85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b948ce;
/* rgb */ color: rgb(185, 72, 206);
/* oklch */ color: oklch(60.6% 0.215 321.0);
Tailwind
colors: {
  custom: {
    50: '#d183dd',
    500: '#b948ce',
    950: '#000000',
  },
}
SCSS
$custom: #b948ce;
$custom-light: #d183dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b948ce",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 290.597,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.21522,
    "h": 321
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#B948CE
secondary
#A5D59D
accent
#E1475F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B948CE

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

Preview Lab → · Contrast checker → · Palette generator →

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