#B27EE4#B27EE4

#B27EE4 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.154 H 306.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B27EE4
RGBrgb(178, 126, 228)
HSLhsl(271, 65%, 69%)
HSVhsv(271, 45%, 89%)
CMYKcmyk(21.9%, 44.7%, 0%, 10.6%)
CIE-LABlab(61.64, 39.46, -44.37)
CIE-LCHlch(61.64, 59.38, 311.65°)
OKLaboklab(68.55% 0.0909 -0.1238)
OKLCHoklch(68.55% 0.154 306.3)
XYZxyz(39.8217, 29.9884, 77.0742)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EE4 #B0E47E
analogous
#7F7EE4 #B27EE4 #E47EE3
triadic
#B27EE4 #E4B27E #7EE4B2
tetradic
#B27EE4 #E47F7E #B0E47E #7EE3E4
square
#B27EE4 #E47F7E #B0E47E #7EE3E4
split-complementary
#B27EE4 #E3E47E #7EE47F
monochromatic
#7528C0 #944BD9 #B27EE4 #D0B1EF #EEE3F9

Accessibility & contrast

On white

3.00
#B27EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B27EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EE4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EE4#FFFFFF#000000##000000
##B27EE41.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E8
Deuteranopia (green-blind)
#7195E1
Tritanopia (blue-blind)
#AA8FA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b27ee4;
/* rgb */ color: rgb(178, 126, 228);
/* oklch */ color: oklch(68.5% 0.154 306.3);
Tailwind
colors: {
  custom: {
    50: '#cba4ed',
    500: '#b27ee4',
    950: '#000000',
  },
}
SCSS
$custom: #b27ee4;
$custom-light: #cba4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ee4",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 270.588,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.15358,
    "h": 306.3
  },
  "luminance": 0.29988
}

Semantic roles & 50–950 ramp

primary
#B27EE4
secondary
#DFEED0
accent
#CD1871
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B27EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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