#B27DEE#B27DEE

#B27DEE is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.167 H 304.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B27DEE
RGBrgb(178, 125, 238)
HSLhsl(268, 77%, 71%)
HSVhsv(268, 47%, 93%)
CMYKcmyk(25.2%, 47.5%, 0%, 6.7%)
CIE-LABlab(61.92, 42.32, -49.49)
CIE-LCHlch(61.92, 65.12, 310.53°)
OKLaboklab(68.91% 0.0935 -0.1387)
OKLCHoklch(68.91% 0.167 304)
XYZxyz(41.1230, 30.3054, 84.5554)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27DEE #B9EE7D
analogous
#7D80EE #B27DEE #EB7DEE
triadic
#B27DEE #EEB27D #7DEEB2
tetradic
#B27DEE #EE7D80 #B9EE7D #7DEEEB
square
#B27DEE #EE7D80 #B9EE7D #7DEEEB
split-complementary
#B27DEE #EEEB7D #80EE7D
monochromatic
#731CD5 #9247E7 #B27DEE #D2B3F5 #EFE4FB

Accessibility & contrast

On white

2.97
#B27DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B27DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27DEE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27DEE#FFFFFF#000000##000000
##B27DEE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#6A96EB
Tritanopia (blue-blind)
#A891AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27dee;
/* rgb */ color: rgb(178, 125, 238);
/* oklch */ color: oklch(68.9% 0.167 304.0);
Tailwind
colors: {
  custom: {
    50: '#cba4f4',
    500: '#b27dee',
    950: '#000000',
  },
}
SCSS
$custom: #b27dee;
$custom-light: #cba4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b27dee",
  "rgb": {
    "r": 178,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 268.142,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68909,
    "c": 0.1673,
    "h": 304
  },
  "luminance": 0.30305
}

Semantic roles & 50–950 ramp

primary
#B27DEE
secondary
#E4F2D5
accent
#D90C79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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