#B249E8#B249E8

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

Color values

HEX#B249E8
RGBrgb(178, 73, 232)
HSLhsl(280, 78%, 60%)
HSVhsv(280, 69%, 91%)
CMYKcmyk(23.3%, 68.5%, 0%, 9%)
CIE-LABlab(51.90, 66.74, -62.14)
CIE-LCHlch(51.90, 91.19, 317.04°)
OKLaboklab(61.48% 0.1565 -0.1755)
OKLCHoklch(61.48% 0.235 311.7)
XYZxyz(35.3054, 20.0572, 78.3399)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249E8 #7FE849
analogous
#6349E8 #B249E8 #E849CE
triadic
#B249E8 #E8B249 #49E8B2
tetradic
#B249E8 #E86349 #7FE849 #49CEE8
square
#B249E8 #E86349 #7FE849 #49CEE8
split-complementary
#B249E8 #CEE849 #49E863
monochromatic
#7214A2 #981BD8 #B249E8 #C97FEF #E0B6F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B249E8#FFFFFF#000000##000000
##B249E81.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)
#0077ED
Deuteranopia (green-blind)
#367EE4
Tritanopia (blue-blind)
#AB6B93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b249e8;
/* rgb */ color: rgb(178, 73, 232);
/* oklch */ color: oklch(61.5% 0.235 311.7);
Tailwind
colors: {
  custom: {
    50: '#cd84f0',
    500: '#b249e8',
    950: '#000000',
  },
}
SCSS
$custom: #b249e8;
$custom-light: #cd84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b249e8",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 232
  },
  "hsl": {
    "h": 279.623,
    "s": 77.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.23511,
    "h": 311.7
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#B249E8
secondary
#BDE5A8
accent
#F43475
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B249E8

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

Preview Lab → · Contrast checker → · Palette generator →

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