#B954FF#B954FF

#B954FF is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 65.0% C 0.246 H 308.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B954FF
RGBrgb(185, 84, 255)
HSLhsl(275, 100%, 66%)
HSVhsv(275, 67%, 100%)
CMYKcmyk(27.5%, 67.1%, 0%, 0%)
CIE-LABlab(55.96, 68.29, -68.38)
CIE-LCHlch(55.96, 96.65, 314.96°)
OKLaboklab(65.04% 0.1516 -0.1937)
OKLCHoklch(65.04% 0.246 308)
XYZxyz(41.2242, 23.8755, 97.0251)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954FF #9AFF54
analogous
#6454FF #B954FF #FF54EF
triadic
#B954FF #FFB954 #54FFB9
tetradic
#B954FF #FF6454 #9AFF54 #54EFFF
square
#B954FF #FF6454 #9AFF54 #54EFFF
split-complementary
#B954FF #EFFF54 #54FF64
monochromatic
#8000D9 #A017FF #B954FF #D291FF #EBCEFF

Accessibility & contrast

On white

3.64
#B954FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B954FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954FF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954FF#FFFFFF#000000##000000
##B954FF1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#AE79A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b954ff;
/* rgb */ color: rgb(185, 84, 255);
/* oklch */ color: oklch(65.0% 0.246 308.0);
Tailwind
colors: {
  custom: {
    50: '#d38bff',
    500: '#b954ff',
    950: '#000000',
  },
}
SCSS
$custom: #b954ff;
$custom-light: #d38bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ff",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 275.439,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.24594,
    "h": 308
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#B954FF
secondary
#D2F3BC
accent
#E6005E
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B954FF

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

Preview Lab → · Contrast checker → · Palette generator →

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