#B249E1#B249E1

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

Color values

HEX#B249E1
RGBrgb(178, 73, 225)
HSLhsl(281, 72%, 58%)
HSVhsv(281, 68%, 88%)
CMYKcmyk(20.9%, 67.6%, 0%, 11.8%)
CIE-LABlab(51.46, 65.31, -58.90)
CIE-LCHlch(51.46, 87.95, 317.95°)
OKLaboklab(61.02% 0.1571 -0.166)
OKLCHoklch(61.02% 0.229 313.4)
XYZxyz(34.3309, 19.6674, 73.2073)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249E1 #78E149
analogous
#6649E1 #B249E1 #E149C4
triadic
#B249E1 #E1B249 #49E1B2
tetradic
#B249E1 #E16649 #78E149 #49C4E1
square
#B249E1 #E16649 #78E149 #49C4E1
split-complementary
#B249E1 #C4E149 #49E166
monochromatic
#701997 #9722CB #B249E1 #C87EEA #DEB2F2

Accessibility & contrast

On white

4.26
#B249E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B249E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B249E1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249E1#FFFFFF#000000##000000
##B249E11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#3F7DDE
Tritanopia (blue-blind)
#AD6890
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b249e1;
/* rgb */ color: rgb(178, 73, 225);
/* oklch */ color: oklch(61.0% 0.229 313.4);
Tailwind
colors: {
  custom: {
    50: '#cd83eb',
    500: '#b249e1',
    950: '#000000',
  },
}
SCSS
$custom: #b249e1;
$custom-light: #cd83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b249e1",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 281.447,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.22853,
    "h": 313.4
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#B249E1
secondary
#B7E1A5
accent
#EE3971
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B249E1

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

Preview Lab → · Contrast checker → · Palette generator →

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