#B249EC#B249EC

#B249EC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.7% C 0.239 H 310.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B249EC
RGBrgb(178, 73, 236)
HSLhsl(279, 81%, 61%)
HSVhsv(279, 69%, 93%)
CMYKcmyk(24.6%, 69.1%, 0%, 7.5%)
CIE-LABlab(52.16, 67.57, -63.97)
CIE-LCHlch(52.16, 93.05, 316.56°)
OKLaboklab(61.74% 0.156 -0.1809)
OKLCHoklch(61.74% 0.239 310.8)
XYZxyz(35.8801, 20.2870, 81.3663)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249EC #83EC49
analogous
#6049EC #B249EC #EC49D5
triadic
#B249EC #ECB249 #49ECB2
tetradic
#B249EC #EC6049 #83EC49 #49D5EC
square
#B249EC #EC6049 #83EC49 #49D5EC
split-complementary
#B249EC #D5EC49 #49EC60
monochromatic
#7312A9 #9917E0 #B249EC #C980F2 #E1B8F8

Accessibility & contrast

On white

4.15
#B249EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B249EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B249EC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249EC#FFFFFF#000000##000000
##B249EC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#AA6C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b249ec;
/* rgb */ color: rgb(178, 73, 236);
/* oklch */ color: oklch(61.7% 0.239 310.8);
Tailwind
colors: {
  custom: {
    50: '#ce84f3',
    500: '#b249ec',
    950: '#000000',
  },
}
SCSS
$custom: #b249ec;
$custom-light: #ce84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b249ec",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 278.65,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61741,
    "c": 0.23888,
    "h": 310.8
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#B249EC
secondary
#BFE7A9
accent
#DD0854
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B249EC

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

Preview Lab → · Contrast checker → · Palette generator →

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