#B27CED#B27CED

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

Color values

HEX#B27CED
RGBrgb(178, 124, 237)
HSLhsl(269, 76%, 71%)
HSVhsv(269, 48%, 93%)
CMYKcmyk(24.9%, 47.7%, 0%, 7.1%)
CIE-LABlab(61.65, 42.63, -49.36)
CIE-LCHlch(61.65, 65.23, 310.82°)
OKLaboklab(68.69% 0.0948 -0.1383)
OKLCHoklch(68.69% 0.168 304.4)
XYZxyz(40.8505, 29.9949, 83.7418)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27CED #B7ED7C
analogous
#7C7EED #B27CED #EB7CED
triadic
#B27CED #EDB27C #7CEDB2
tetradic
#B27CED #ED7C7E #B7ED7C #7CEDEB
square
#B27CED #ED7C7E #B7ED7C #7CEDEB
split-complementary
#B27CED #EDEB7C #7EED7C
monochromatic
#731DD2 #9246E6 #B27CED #D2B2F4 #EFE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B27CED#FFFFFF#000000##000000
##B27CED1.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)
#5C93F1
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#A890A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b27ced;
/* rgb */ color: rgb(178, 124, 237);
/* oklch */ color: oklch(68.7% 0.168 304.4);
Tailwind
colors: {
  custom: {
    50: '#cba3f3',
    500: '#b27ced',
    950: '#000000',
  },
}
SCSS
$custom: #b27ced;
$custom-light: #cba3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ced",
  "rgb": {
    "r": 178,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 268.673,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68693,
    "c": 0.16766,
    "h": 304.4
  },
  "luminance": 0.29995
}

Semantic roles & 50–950 ramp

primary
#B27CED
secondary
#E3F2D3
accent
#D80D77
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27CED

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

Preview Lab → · Contrast checker → · Palette generator →

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