#B754F1#B754F1

#B754F1 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.9% C 0.232 H 310.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B754F1
RGBrgb(183, 84, 241)
HSLhsl(278, 85%, 64%)
HSVhsv(278, 65%, 95%)
CMYKcmyk(24.1%, 65.1%, 0%, 5.5%)
CIE-LABlab(54.82, 64.91, -62.45)
CIE-LCHlch(54.82, 90.07, 316.11°)
OKLaboklab(63.89% 0.1503 -0.1763)
OKLCHoklch(63.89% 0.232 310.4)
XYZxyz(38.5729, 22.7596, 85.5631)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754F1 #8EF154
analogous
#6854F1 #B754F1 #F154DD
triadic
#B754F1 #F1B754 #54F1B7
tetradic
#B754F1 #F16854 #8EF154 #54DDF1
square
#B754F1 #F16854 #8EF154 #54DDF1
split-complementary
#B754F1 #DDF154 #54F168
monochromatic
#7C0FBB #9F1BEC #B754F1 #CF8DF6 #E7C5FA

Accessibility & contrast

On white

3.78
#B754F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B754F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754F1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754F1#FFFFFF#000000##000000
##B754F11.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3F85ED
Tritanopia (blue-blind)
#AF749C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b754f1;
/* rgb */ color: rgb(183, 84, 241);
/* oklch */ color: oklch(63.9% 0.232 310.4);
Tailwind
colors: {
  custom: {
    50: '#d18af6',
    500: '#b754f1',
    950: '#000000',
  },
}
SCSS
$custom: #b754f1;
$custom-light: #d18af6;
$custom-dark: #000000;
JSON
{
  "hex": "#b754f1",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 277.834,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63887,
    "c": 0.23167,
    "h": 310.4
  },
  "luminance": 0.22759
}

Semantic roles & 50–950 ramp

primary
#B754F1
secondary
#C9ECB5
accent
#E10456
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B754F1

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

Preview Lab → · Contrast checker → · Palette generator →

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