#B27EDA#B27EDA

#B27EDA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.141 H 309.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B27EDA
RGBrgb(178, 126, 218)
HSLhsl(274, 55%, 67%)
HSVhsv(274, 42%, 85%)
CMYKcmyk(18.3%, 42.2%, 0%, 14.5%)
CIE-LABlab(61.18, 37.21, -39.53)
CIE-LCHlch(61.18, 54.29, 313.27°)
OKLaboklab(68.04% 0.0892 -0.1098)
OKLCHoklch(68.04% 0.141 309.1)
XYZxyz(38.4735, 29.4491, 69.9735)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EDA #A6DA7E
analogous
#847EDA #B27EDA #DA7ED4
triadic
#B27EDA #DAB27E #7EDAB2
tetradic
#B27EDA #DA847E #A6DA7E #7ED4DA
square
#B27EDA #DA847E #A6DA7E #7ED4DA
split-complementary
#B27EDA #D4DA7E #7EDA84
monochromatic
#7731AC #964ECC #B27EDA #CEAEE8 #EBDDF5

Accessibility & contrast

On white

3.05
#B27EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B27EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27EDA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EDA#FFFFFF#000000##000000
##B27EDA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DD
Deuteranopia (green-blind)
#7794D7
Tritanopia (blue-blind)
#AD8CA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b27eda;
/* rgb */ color: rgb(178, 126, 218);
/* oklch */ color: oklch(68.0% 0.141 309.1);
Tailwind
colors: {
  custom: {
    50: '#caa4e6',
    500: '#b27eda',
    950: '#000000',
  },
}
SCSS
$custom: #b27eda;
$custom-light: #caa4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b27eda",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 273.913,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6804,
    "c": 0.14148,
    "h": 309.1
  },
  "luminance": 0.29449
}

Semantic roles & 50–950 ramp

primary
#B27EDA
secondary
#D8E8CC
accent
#C32368
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B27EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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