#B949F8#B949F8

#B949F8 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.4% C 0.252 H 310.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B949F8
RGBrgb(185, 73, 248)
HSLhsl(278, 93%, 63%)
HSVhsv(278, 71%, 97%)
CMYKcmyk(25.4%, 70.6%, 0%, 2.7%)
CIE-LABlab(53.88, 71.40, -67.87)
CIE-LCHlch(53.88, 98.51, 316.45°)
OKLaboklab(63.41% 0.1633 -0.1921)
OKLCHoklch(63.41% 0.252 310.4)
XYZxyz(39.3301, 21.8576, 90.9358)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B949F8 #88F849
analogous
#6149F8 #B949F8 #F849E0
triadic
#B949F8 #F8B949 #49F8B9
tetradic
#B949F8 #F86149 #88F849 #49E0F8
square
#B949F8 #F86149 #88F849 #49E0F8
split-complementary
#B949F8 #E0F849 #49F861
monochromatic
#7D07BF #A20EF6 #B949F8 #D084FA #E6BFFD

Accessibility & contrast

On white

3.91
#B949F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B949F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B949F8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B949F8#FFFFFF#000000##000000
##B949F81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#2883F4
Tritanopia (blue-blind)
#B0709C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b949f8;
/* rgb */ color: rgb(185, 73, 248);
/* oklch */ color: oklch(63.4% 0.252 310.4);
Tailwind
colors: {
  custom: {
    50: '#d385fb',
    500: '#b949f8',
    950: '#000000',
  },
}
SCSS
$custom: #b949f8;
$custom-light: #d385fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b949f8",
  "rgb": {
    "r": 185,
    "g": 73,
    "b": 248
  },
  "hsl": {
    "h": 278.4,
    "s": 92.593,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63406,
    "c": 0.25212,
    "h": 310.4
  },
  "luminance": 0.21857
}

Semantic roles & 50–950 ramp

primary
#B949F8
secondary
#C6EEAF
accent
#E60053
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B949F8

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

Preview Lab → · Contrast checker → · Palette generator →

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