#B27AEB#B27AEB

#B27AEB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.168 H 305.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B27AEB
RGBrgb(178, 122, 235)
HSLhsl(270, 74%, 70%)
HSVhsv(270, 48%, 92%)
CMYKcmyk(24.3%, 48.1%, 0%, 7.8%)
CIE-LABlab(61.12, 43.26, -49.10)
CIE-LCHlch(61.12, 65.44, 311.39°)
OKLaboklab(68.26% 0.0972 -0.1375)
OKLCHoklch(68.26% 0.168 305.3)
XYZxyz(40.3119, 29.3824, 82.1288)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27AEB #B3EB7A
analogous
#7A7AEB #B27AEB #EB7AEB
triadic
#B27AEB #EBB27A #7AEBB2
tetradic
#B27AEB #EB7A7A #B3EB7A #7AEBEB
square
#B27AEB #EB7A7A #B3EB7A #7AEBEB
split-complementary
#B27AEB #EBEB7A #7AEB7A
monochromatic
#751FCC #9345E3 #B27AEB #D1AFF3 #F0E4FB

Accessibility & contrast

On white

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

On black

6.88
#B27AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27AEB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27AEB#FFFFFF#000000##000000
##B27AEB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#A98EA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b27aeb;
/* rgb */ color: rgb(178, 122, 235);
/* oklch */ color: oklch(68.3% 0.168 305.3);
Tailwind
colors: {
  custom: {
    50: '#cba2f2',
    500: '#b27aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b27aeb;
$custom-light: #cba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b27aeb",
  "rgb": {
    "r": 178,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 269.735,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.68264,
    "c": 0.16842,
    "h": 305.3
  },
  "luminance": 0.29382
}

Semantic roles & 50–950 ramp

primary
#B27AEB
secondary
#E1F0D1
accent
#D61074
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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