#B27FEC#B27FEC

#B27FEC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.162 H 304.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B27FEC
RGBrgb(178, 127, 236)
HSLhsl(268, 74%, 71%)
HSVhsv(268, 46%, 93%)
CMYKcmyk(24.6%, 46.2%, 0%, 7.5%)
CIE-LABlab(62.25, 40.76, -47.85)
CIE-LCHlch(62.25, 62.86, 310.42°)
OKLaboklab(69.13% 0.0906 -0.1339)
OKLCHoklch(69.13% 0.162 304.1)
XYZxyz(41.0866, 30.7000, 83.1018)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FEC #B9EC7F
analogous
#7F82EC #B27FEC #E87FEC
triadic
#B27FEC #ECB27F #7FECB2
tetradic
#B27FEC #EC7F82 #B9EC7F #7FECE8
square
#B27FEC #EC7F82 #B9EC7F #7FECE8
split-complementary
#B27FEC #ECE87F #82EC7F
monochromatic
#731FD2 #924AE4 #B27FEC #D2B4F4 #EFE4FB

Accessibility & contrast

On white

2.94
#B27FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B27FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FEC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FEC#FFFFFF#000000##000000
##B27FEC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#A892AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27fec;
/* rgb */ color: rgb(178, 127, 236);
/* oklch */ color: oklch(69.1% 0.162 304.1);
Tailwind
colors: {
  custom: {
    50: '#cba5f2',
    500: '#b27fec',
    950: '#000000',
  },
}
SCSS
$custom: #b27fec;
$custom-light: #cba5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fec",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 268.073,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69128,
    "c": 0.16171,
    "h": 304.1
  },
  "luminance": 0.307
}

Semantic roles & 50–950 ramp

primary
#B27FEC
secondary
#E4F2D5
accent
#D60F79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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