#B249ED#B249ED

#B249ED is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.8% C 0.240 H 310.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B249ED
RGBrgb(178, 73, 237)
HSLhsl(278, 82%, 61%)
HSVhsv(278, 69%, 93%)
CMYKcmyk(24.9%, 69.2%, 0%, 7.1%)
CIE-LABlab(52.23, 67.77, -64.43)
CIE-LCHlch(52.23, 93.51, 316.45°)
OKLaboklab(61.81% 0.1559 -0.1822)
OKLCHoklch(61.81% 0.24 310.5)
XYZxyz(36.0258, 20.3453, 82.1336)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249ED #84ED49
analogous
#6049ED #B249ED #ED49D6
triadic
#B249ED #EDB249 #49EDB2
tetradic
#B249ED #ED6049 #84ED49 #49D6ED
square
#B249ED #ED6049 #84ED49 #49D6ED
split-complementary
#B249ED #D6ED49 #49ED60
monochromatic
#7311AB #9916E2 #B249ED #CA81F3 #E1B8F8

Accessibility & contrast

On white

4.14
#B249ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B249ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B249ED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249ED#FFFFFF#000000##000000
##B249ED1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#AA6D96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b249ed;
/* rgb */ color: rgb(178, 73, 237);
/* oklch */ color: oklch(61.8% 0.240 310.5);
Tailwind
colors: {
  custom: {
    50: '#ce84f4',
    500: '#b249ed',
    950: '#000000',
  },
}
SCSS
$custom: #b249ed;
$custom-light: #ce84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b249ed",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 237
  },
  "hsl": {
    "h": 278.415,
    "s": 82,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.23982,
    "h": 310.5
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#B249ED
secondary
#C0E8AA
accent
#DE0755
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #B249ED

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

Preview Lab → · Contrast checker → · Palette generator →

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