#B948CF#B948CF

#B948CF is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.216 H 320.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B948CF
RGBrgb(185, 72, 207)
HSLhsl(290, 58%, 55%)
HSVhsv(290, 65%, 81%)
CMYKcmyk(10.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(51.22, 63.77, -48.99)
CIE-LCHlch(51.22, 80.41, 322.47°)
OKLaboklab(60.7% 0.1673 -0.1368)
OKLCHoklch(60.7% 0.216 320.7)
XYZxyz(33.5861, 19.4557, 61.0056)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B948CF #5ECF48
analogous
#7548CF #B948CF #CF48A2
triadic
#B948CF #CFB948 #48CFB9
tetradic
#B948CF #CF7548 #5ECF48 #48A2CF
square
#B948CF #CF7548 #5ECF48 #48A2CF
split-complementary
#B948CF #A2CF48 #48CF75
monochromatic
#6D217C #982DAD #B948CF #CC78DC #DEA9E8

Accessibility & contrast

On white

4.29
#B948CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B948CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B948CF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B948CF#FFFFFF#000000##000000
##B948CF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2072D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#BA5F86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b948cf;
/* rgb */ color: rgb(185, 72, 207);
/* oklch */ color: oklch(60.7% 0.216 320.7);
Tailwind
colors: {
  custom: {
    50: '#d183de',
    500: '#b948cf',
    950: '#000000',
  },
}
SCSS
$custom: #b948cf;
$custom-light: #d183de;
$custom-dark: #000000;
JSON
{
  "hex": "#b948cf",
  "rgb": {
    "r": 185,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 290.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.607,
    "c": 0.21611,
    "h": 320.7
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#B948CF
secondary
#A6D69D
accent
#E2465F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B948CF

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

Preview Lab → · Contrast checker → · Palette generator →

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