#B049EC#B049EC

#B049EC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.5% C 0.238 H 310.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B049EC
RGBrgb(176, 73, 236)
HSLhsl(278, 81%, 61%)
HSVhsv(278, 69%, 93%)
CMYKcmyk(25.4%, 69.1%, 0%, 7.5%)
CIE-LABlab(51.90, 67.17, -64.41)
CIE-LCHlch(51.90, 93.06, 316.20°)
OKLaboklab(61.5% 0.1535 -0.1822)
OKLCHoklch(61.5% 0.238 310.1)
XYZxyz(35.4244, 20.0521, 81.3449)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B049EC #85EC49
analogous
#5E49EC #B049EC #EC49D7
triadic
#B049EC #ECB049 #49ECB0
tetradic
#B049EC #EC5E49 #85EC49 #49D7EC
square
#B049EC #EC5E49 #85EC49 #49D7EC
split-complementary
#B049EC #D7EC49 #49EC5E
monochromatic
#7112A9 #9617E0 #B049EC #C880F2 #E0B8F8

Accessibility & contrast

On white

4.19
#B049EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B049EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B049EC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B049EC#FFFFFF#000000##000000
##B049EC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b049ec;
/* rgb */ color: rgb(176, 73, 236);
/* oklch */ color: oklch(61.5% 0.238 310.1);
Tailwind
colors: {
  custom: {
    50: '#cc84f3',
    500: '#b049ec',
    950: '#000000',
  },
}
SCSS
$custom: #b049ec;
$custom-light: #cc84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b049ec",
  "rgb": {
    "r": 176,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 277.914,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61497,
    "c": 0.23828,
    "h": 310.1
  },
  "luminance": 0.20051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B049EC

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

Preview Lab → · Contrast checker → · Palette generator →

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