#B954F1#B954F1

#B954F1 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.1% C 0.232 H 311.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B954F1
RGBrgb(185, 84, 241)
HSLhsl(279, 85%, 64%)
HSVhsv(279, 65%, 95%)
CMYKcmyk(23.2%, 65.1%, 0%, 5.5%)
CIE-LABlab(55.08, 65.33, -62.03)
CIE-LCHlch(55.08, 90.09, 316.49°)
OKLaboklab(64.13% 0.1528 -0.175)
OKLCHoklch(64.13% 0.232 311.1)
XYZxyz(39.0521, 23.0067, 85.5856)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954F1 #8CF154
analogous
#6A54F1 #B954F1 #F154DA
triadic
#B954F1 #F1B954 #54F1B9
tetradic
#B954F1 #F16A54 #8CF154 #54DAF1
square
#B954F1 #F16A54 #8CF154 #54DAF1
split-complementary
#B954F1 #DAF154 #54F16A
monochromatic
#7E0FBB #A21BEC #B954F1 #D08DF6 #E7C5FA

Accessibility & contrast

On white

3.75
#B954F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B954F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954F1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954F1#FFFFFF#000000##000000
##B954F11.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#4286ED
Tritanopia (blue-blind)
#B2749C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b954f1;
/* rgb */ color: rgb(185, 84, 241);
/* oklch */ color: oklch(64.1% 0.232 311.1);
Tailwind
colors: {
  custom: {
    50: '#d28bf6',
    500: '#b954f1',
    950: '#000000',
  },
}
SCSS
$custom: #b954f1;
$custom-light: #d28bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b954f1",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 278.599,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.2323,
    "h": 311.1
  },
  "luminance": 0.23006
}

Semantic roles & 50–950 ramp

primary
#B954F1
secondary
#C8ECB5
accent
#E10453
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B954F1

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

Preview Lab → · Contrast checker → · Palette generator →

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