#B249E7#B249E7

#B249E7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.4% C 0.234 H 312.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B249E7
RGBrgb(178, 73, 231)
HSLhsl(280, 77%, 60%)
HSVhsv(280, 68%, 91%)
CMYKcmyk(22.9%, 68.4%, 0%, 9.4%)
CIE-LABlab(51.84, 66.54, -61.68)
CIE-LCHlch(51.84, 90.73, 317.17°)
OKLaboklab(61.41% 0.1566 -0.1741)
OKLCHoklch(61.41% 0.234 312)
XYZxyz(35.1638, 20.0005, 77.5939)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249E7 #7EE749
analogous
#6349E7 #B249E7 #E749CD
triadic
#B249E7 #E7B249 #49E7B2
tetradic
#B249E7 #E76349 #7EE749 #49CDE7
square
#B249E7 #E76349 #7EE749 #49CDE7
split-complementary
#B249E7 #CDE749 #49E763
monochromatic
#7215A0 #981CD7 #B249E7 #C97FEE #E0B5F5

Accessibility & contrast

On white

4.20
#B249E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B249E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B249E7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249E7#FFFFFF#000000##000000
##B249E71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#377EE3
Tritanopia (blue-blind)
#AC6A93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b249e7;
/* rgb */ color: rgb(178, 73, 231);
/* oklch */ color: oklch(61.4% 0.234 312.0);
Tailwind
colors: {
  custom: {
    50: '#cd84ef',
    500: '#b249e7',
    950: '#000000',
  },
}
SCSS
$custom: #b249e7;
$custom-light: #cd84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b249e7",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 279.873,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.23417,
    "h": 312
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#B249E7
secondary
#BCE5A7
accent
#F33575
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B249E7

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

Preview Lab → · Contrast checker → · Palette generator →

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