#B27BEC#B27BEC

#B27BEC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.168 H 304.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B27BEC
RGBrgb(178, 123, 236)
HSLhsl(269, 75%, 70%)
HSVhsv(269, 48%, 93%)
CMYKcmyk(24.6%, 47.9%, 0%, 7.5%)
CIE-LABlab(61.38, 42.95, -49.23)
CIE-LCHlch(61.38, 65.33, 311.10°)
OKLaboklab(68.48% 0.096 -0.1379)
OKLCHoklch(68.48% 0.168 304.8)
XYZxyz(40.5802, 29.6872, 82.9330)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BEC #B5EC7B
analogous
#7B7CEC #B27BEC #EB7BEC
triadic
#B27BEC #ECB27B #7BECB2
tetradic
#B27BEC #EC7B7C #B5EC7B #7BECEB
square
#B27BEC #EC7B7C #B5EC7B #7BECEB
split-complementary
#B27BEC #ECEB7B #7CEC7B
monochromatic
#741ECF #9346E4 #B27BEC #D1B0F4 #EFE4FB

Accessibility & contrast

On white

3.03
#B27BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B27BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27BEC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BEC#FFFFFF#000000##000000
##B27BEC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#6A94E9
Tritanopia (blue-blind)
#A88FA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b27bec;
/* rgb */ color: rgb(178, 123, 236);
/* oklch */ color: oklch(68.5% 0.168 304.8);
Tailwind
colors: {
  custom: {
    50: '#cba2f2',
    500: '#b27bec',
    950: '#000000',
  },
}
SCSS
$custom: #b27bec;
$custom-light: #cba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bec",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 269.204,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68478,
    "c": 0.16805,
    "h": 304.8
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#B27BEC
secondary
#E2F1D2
accent
#D70F75
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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