#B754CF#B754CF

#B754CF is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.199 H 319.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B754CF
RGBrgb(183, 84, 207)
HSLhsl(288, 56%, 57%)
HSVhsv(288, 59%, 81%)
CMYKcmyk(11.6%, 59.4%, 0%, 18.8%)
CIE-LABlab(52.86, 58.00, -46.40)
CIE-LCHlch(52.86, 74.28, 321.34°)
OKLaboklab(61.83% 0.1508 -0.1294)
OKLCHoklch(61.83% 0.199 319.4)
XYZxyz(33.9598, 20.9144, 61.2674)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754CF #6CCF54
analogous
#7A54CF #B754CF #CF54A9
triadic
#B754CF #CFB754 #54CFB7
tetradic
#B754CF #CF7A54 #6CCF54 #54A9CF
square
#B754CF #CF7A54 #6CCF54 #54A9CF
split-complementary
#B754CF #A9CF54 #54CF7A
monochromatic
#712584 #9A32B3 #B754CF #CB84DC #DFB4EA

Accessibility & contrast

On white

4.05
#B754CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B754CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754CF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754CF#FFFFFF#000000##000000
##B754CF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#B7688A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b754cf;
/* rgb */ color: rgb(183, 84, 207);
/* oklch */ color: oklch(61.8% 0.199 319.4);
Tailwind
colors: {
  custom: {
    50: '#cf89de',
    500: '#b754cf',
    950: '#000000',
  },
}
SCSS
$custom: #b754cf;
$custom-light: #cf89de;
$custom-dark: #000000;
JSON
{
  "hex": "#b754cf",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 288.293,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.19871,
    "h": 319.4
  },
  "luminance": 0.20913
}

Semantic roles & 50–950 ramp

primary
#B754CF
secondary
#B0D8A6
accent
#DF4866
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B754CF

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

Preview Lab → · Contrast checker → · Palette generator →

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