#B949E2#B949E2

#B949E2 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.232 H 315.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B949E2
RGBrgb(185, 73, 226)
HSLhsl(284, 73%, 59%)
HSVhsv(284, 68%, 89%)
CMYKcmyk(18.1%, 67.7%, 0%, 11.4%)
CIE-LABlab(52.48, 66.99, -57.78)
CIE-LCHlch(52.48, 88.46, 319.22°)
OKLaboklab(61.96% 0.1655 -0.1625)
OKLCHoklch(61.96% 0.232 315.5)
XYZxyz(36.1154, 20.5717, 74.0051)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B949E2 #72E249
analogous
#6C49E2 #B949E2 #E249BE
triadic
#B949E2 #E2B949 #49E2B9
tetradic
#B949E2 #E26C49 #72E249 #49BEE2
square
#B949E2 #E26C49 #72E249 #49BEE2
split-complementary
#B949E2 #BEE249 #49E26C
monochromatic
#761898 #9F21CD #B949E2 #CD7EEA #E2B3F3

Accessibility & contrast

On white

4.11
#B949E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B949E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B949E2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B949E2#FFFFFF#000000##000000
##B949E21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#B66790
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b949e2;
/* rgb */ color: rgb(185, 73, 226);
/* oklch */ color: oklch(62.0% 0.232 315.5);
Tailwind
colors: {
  custom: {
    50: '#d284ec',
    500: '#b949e2',
    950: '#000000',
  },
}
SCSS
$custom: #b949e2;
$custom-light: #d284ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b949e2",
  "rgb": {
    "r": 185,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 283.922,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.23195,
    "h": 315.5
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#B949E2
secondary
#B5E2A5
accent
#EF396A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #B949E2

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

Preview Lab → · Contrast checker → · Palette generator →

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