#B27DEA#B27DEA

#B27DEA is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.162 H 305.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B27DEA
RGBrgb(178, 125, 234)
HSLhsl(269, 72%, 70%)
HSVhsv(269, 47%, 92%)
CMYKcmyk(23.9%, 46.6%, 0%, 8.2%)
CIE-LABlab(61.72, 41.39, -47.59)
CIE-LCHlch(61.72, 63.07, 311.01°)
OKLaboklab(68.69% 0.0931 -0.1332)
OKLCHoklch(68.69% 0.162 305)
XYZxyz(40.5419, 30.0729, 81.4948)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27DEA #B5EA7D
analogous
#7D7FEA #B27DEA #E87DEA
triadic
#B27DEA #EAB27D #7DEAB2
tetradic
#B27DEA #EA7D7F #B5EA7D #7DEAE8
square
#B27DEA #EA7D7F #B5EA7D #7DEAE8
split-complementary
#B27DEA #EAE87D #7FEA7D
monochromatic
#7421CC #9348E1 #B27DEA #D1B2F3 #EFE5FB

Accessibility & contrast

On white

2.99
#B27DEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#B27DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27DEA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27DEA#FFFFFF#000000##000000
##B27DEA1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#A990A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b27dea;
/* rgb */ color: rgb(178, 125, 234);
/* oklch */ color: oklch(68.7% 0.162 305.0);
Tailwind
colors: {
  custom: {
    50: '#cba4f1',
    500: '#b27dea',
    950: '#000000',
  },
}
SCSS
$custom: #b27dea;
$custom-light: #cba4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b27dea",
  "rgb": {
    "r": 178,
    "g": 125,
    "b": 234
  },
  "hsl": {
    "h": 269.174,
    "s": 72.185,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.16246,
    "h": 305
  },
  "luminance": 0.30073
}

Semantic roles & 50–950 ramp

primary
#B27DEA
secondary
#E2F0D2
accent
#D41175
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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