#B149E2#B149E2

#B149E2 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.229 H 312.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B149E2
RGBrgb(177, 73, 226)
HSLhsl(281, 73%, 59%)
HSVhsv(281, 68%, 89%)
CMYKcmyk(21.7%, 67.7%, 0%, 11.4%)
CIE-LABlab(51.39, 65.31, -59.59)
CIE-LCHlch(51.39, 88.41, 317.62°)
OKLaboklab(60.96% 0.1558 -0.168)
OKLCHoklch(60.96% 0.229 312.8)
XYZxyz(34.2390, 19.6042, 73.9171)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B149E2 #7AE249
analogous
#6449E2 #B149E2 #E249C7
triadic
#B149E2 #E2B149 #49E2B1
tetradic
#B149E2 #E26449 #7AE249 #49C7E2
square
#B149E2 #E26449 #7AE249 #49C7E2
split-complementary
#B149E2 #C7E249 #49E264
monochromatic
#6F1898 #9621CD #B149E2 #C87EEA #DEB3F3

Accessibility & contrast

On white

4.27
#B149E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B149E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B149E2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B149E2#FFFFFF#000000##000000
##B149E21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#AC6890
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b149e2;
/* rgb */ color: rgb(177, 73, 226);
/* oklch */ color: oklch(61.0% 0.229 312.8);
Tailwind
colors: {
  custom: {
    50: '#cc83ec',
    500: '#b149e2',
    950: '#000000',
  },
}
SCSS
$custom: #b149e2;
$custom-light: #cc83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b149e2",
  "rgb": {
    "r": 177,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 280.784,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.22913,
    "h": 312.8
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

primary
#B149E2
secondary
#B9E2A5
accent
#EF3973
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B149E2

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

Preview Lab → · Contrast checker → · Palette generator →

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