#B954F3#B954F3

#B954F3 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.3% C 0.234 H 310.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B954F3
RGBrgb(185, 84, 243)
HSLhsl(278, 87%, 64%)
HSVhsv(278, 65%, 95%)
CMYKcmyk(23.9%, 65.4%, 0%, 4.7%)
CIE-LABlab(55.20, 65.75, -62.94)
CIE-LCHlch(55.20, 91.02, 316.25°)
OKLaboklab(64.25% 0.1526 -0.1777)
OKLCHoklch(64.25% 0.234 310.7)
XYZxyz(39.3525, 23.1269, 87.1675)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954F3 #8EF354
analogous
#6A54F3 #B954F3 #F354DE
triadic
#B954F3 #F3B954 #54F3B9
tetradic
#B954F3 #F36A54 #8EF354 #54DEF3
square
#B954F3 #F36A54 #8EF354 #54DEF3
split-complementary
#B954F3 #DEF354 #54F36A
monochromatic
#7E0DBF #A21BEF #B954F3 #D08DF7 #E8C6FB

Accessibility & contrast

On white

3.73
#B954F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B954F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954F3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954F3#FFFFFF#000000##000000
##B954F31.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#B1759D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b954f3;
/* rgb */ color: rgb(185, 84, 243);
/* oklch */ color: oklch(64.3% 0.234 310.7);
Tailwind
colors: {
  custom: {
    50: '#d28bf8',
    500: '#b954f3',
    950: '#000000',
  },
}
SCSS
$custom: #b954f3;
$custom-light: #d28bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b954f3",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 278.113,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.23425,
    "h": 310.7
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#B954F3
secondary
#CAEDB6
accent
#E30254
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B954F3

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

Preview Lab → · Contrast checker → · Palette generator →

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