#B754EE#B754EE

#B754EE is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.7% C 0.229 H 311.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B754EE
RGBrgb(183, 84, 238)
HSLhsl(279, 82%, 63%)
HSVhsv(279, 65%, 93%)
CMYKcmyk(23.1%, 64.7%, 0%, 6.7%)
CIE-LABlab(54.64, 64.28, -61.07)
CIE-LCHlch(54.64, 88.66, 316.47°)
OKLaboklab(63.7% 0.1505 -0.1723)
OKLCHoklch(63.7% 0.229 311.1)
XYZxyz(38.1285, 22.5819, 83.2225)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754EE #8BEE54
analogous
#6A54EE #B754EE #EE54D8
triadic
#B754EE #EEB754 #54EEB7
tetradic
#B754EE #EE6A54 #8BEE54 #54D8EE
square
#B754EE #EE6A54 #8BEE54 #54D8EE
split-complementary
#B754EE #D8EE54 #54EE6A
monochromatic
#7B12B6 #A01CE8 #B754EE #CE8CF4 #E6C3F9

Accessibility & contrast

On white

3.81
#B754EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B754EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754EE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754EE#FFFFFF#000000##000000
##B754EE1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#4385EA
Tritanopia (blue-blind)
#B0739A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b754ee;
/* rgb */ color: rgb(183, 84, 238);
/* oklch */ color: oklch(63.7% 0.229 311.1);
Tailwind
colors: {
  custom: {
    50: '#d18af4',
    500: '#b754ee',
    950: '#000000',
  },
}
SCSS
$custom: #b754ee;
$custom-light: #d18af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b754ee",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 278.571,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63695,
    "c": 0.22874,
    "h": 311.1
  },
  "luminance": 0.22581
}

Semantic roles & 50–950 ramp

primary
#B754EE
secondary
#C7EAB3
accent
#DE0754
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B754EE

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

Preview Lab → · Contrast checker → · Palette generator →

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