#B754F6#B754F6

#B754F6 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.2% C 0.237 H 309.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B754F6
RGBrgb(183, 84, 246)
HSLhsl(277, 90%, 65%)
HSVhsv(277, 66%, 96%)
CMYKcmyk(25.6%, 65.9%, 0%, 3.5%)
CIE-LABlab(55.14, 65.97, -64.73)
CIE-LCHlch(55.14, 92.42, 315.54°)
OKLaboklab(64.21% 0.1499 -0.183)
OKLCHoklch(64.21% 0.237 309.3)
XYZxyz(39.3300, 23.0625, 89.5505)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754F6 #93F654
analogous
#6654F6 #B754F6 #F654E4
triadic
#B754F6 #F6B754 #54F6B7
tetradic
#B754F6 #F66654 #93F654 #54E4F6
square
#B754F6 #F66654 #93F654 #54E4F6
split-complementary
#B754F6 #E4F654 #54F666
monochromatic
#7D0AC5 #9F1AF3 #B754F6 #CF8EF9 #E8C8FC

Accessibility & contrast

On white

3.74
#B754F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B754F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754F6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754F6#FFFFFF#000000##000000
##B754F61.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#AE769E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b754f6;
/* rgb */ color: rgb(183, 84, 246);
/* oklch */ color: oklch(64.2% 0.237 309.3);
Tailwind
colors: {
  custom: {
    50: '#d18afa',
    500: '#b754f6',
    950: '#000000',
  },
}
SCSS
$custom: #b754f6;
$custom-light: #d18afa;
$custom-dark: #000000;
JSON
{
  "hex": "#b754f6",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 246
  },
  "hsl": {
    "h": 276.667,
    "s": 90,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64211,
    "c": 0.23658,
    "h": 309.3
  },
  "luminance": 0.23062
}

Semantic roles & 50–950 ramp

primary
#B754F6
secondary
#CDEFB7
accent
#E60059
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B754F6

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

Preview Lab → · Contrast checker → · Palette generator →

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