#B754CE#B754CE

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

Color values

HEX#B754CE
RGBrgb(183, 84, 206)
HSLhsl(289, 55%, 57%)
HSVhsv(289, 59%, 81%)
CMYKcmyk(11.2%, 59.2%, 0%, 19.2%)
CIE-LABlab(52.80, 57.81, -45.91)
CIE-LCHlch(52.80, 73.82, 321.54°)
OKLaboklab(61.78% 0.1508 -0.1279)
OKLCHoklch(61.78% 0.198 319.7)
XYZxyz(33.8379, 20.8656, 60.6256)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754CE #6BCE54
analogous
#7A54CE #B754CE #CE54A8
triadic
#B754CE #CEB754 #54CEB7
tetradic
#B754CE #CE7A54 #6BCE54 #54A8CE
square
#B754CE #CE7A54 #6BCE54 #54A8CE
split-complementary
#B754CE #A8CE54 #54CE7A
monochromatic
#712582 #9A33B2 #B754CE #CB84DC #DFB3E9

Accessibility & contrast

On white

4.06
#B754CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B754CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754CE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754CE#FFFFFF#000000##000000
##B754CE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#5D82CB
Tritanopia (blue-blind)
#B86789
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b754ce;
/* rgb */ color: rgb(183, 84, 206);
/* oklch */ color: oklch(61.8% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#cf89dd',
    500: '#b754ce',
    950: '#000000',
  },
}
SCSS
$custom: #b754ce;
$custom-light: #cf89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b754ce",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 288.689,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61775,
    "c": 0.19776,
    "h": 319.7
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#B754CE
secondary
#AFD8A6
accent
#DF4965
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B754CE

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

Preview Lab → · Contrast checker → · Palette generator →

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