#B149EC#B149EC

#B149EC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.6% C 0.239 H 310.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B149EC
RGBrgb(177, 73, 236)
HSLhsl(278, 81%, 61%)
HSVhsv(278, 69%, 93%)
CMYKcmyk(25%, 69.1%, 0%, 7.5%)
CIE-LABlab(52.03, 67.37, -64.19)
CIE-LCHlch(52.03, 93.06, 316.38°)
OKLaboklab(61.62% 0.1548 -0.1816)
OKLCHoklch(61.62% 0.239 310.4)
XYZxyz(35.6514, 20.1691, 81.3556)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B149EC #84EC49
analogous
#5F49EC #B149EC #EC49D6
triadic
#B149EC #ECB149 #49ECB1
tetradic
#B149EC #EC5F49 #84EC49 #49D6EC
square
#B149EC #EC5F49 #84EC49 #49D6EC
split-complementary
#B149EC #D6EC49 #49EC5F
monochromatic
#7212A9 #9817E0 #B149EC #C980F2 #E0B8F8

Accessibility & contrast

On white

4.17
#B149EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B149EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B149EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B149EC#FFFFFF#000000##000000
##B149EC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#2E7EE8
Tritanopia (blue-blind)
#A96C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b149ec;
/* rgb */ color: rgb(177, 73, 236);
/* oklch */ color: oklch(61.6% 0.239 310.4);
Tailwind
colors: {
  custom: {
    50: '#cd84f3',
    500: '#b149ec',
    950: '#000000',
  },
}
SCSS
$custom: #b149ec;
$custom-light: #cd84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b149ec",
  "rgb": {
    "r": 177,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 278.282,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.23857,
    "h": 310.4
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#B149EC
secondary
#C0E7A9
accent
#DD0855
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B149EC

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

Preview Lab → · Contrast checker → · Palette generator →

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