#B27EFE#B27EFE

#B27EFE is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.185 H 300.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B27EFE
RGBrgb(178, 126, 254)
HSLhsl(264, 98%, 75%)
HSVhsv(264, 50%, 100%)
CMYKcmyk(29.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(62.96, 45.57, -56.65)
CIE-LCHlch(62.96, 72.70, 308.81°)
OKLaboklab(69.96% 0.0938 -0.1596)
OKLCHoklch(69.96% 0.185 300.4)
XYZxyz(43.7062, 31.5422, 97.5324)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EFE #CAFE7E
analogous
#7E8AFE #B27EFE #F27EFE
triadic
#B27EFE #FEB27E #7EFEB2
tetradic
#B27EFE #FE7E8A #CAFE7E #7EFEF2
square
#B27EFE #FE7E8A #CAFE7E #7EFEF2
split-complementary
#B27EFE #FEF27E #8AFE7E
monochromatic
#6A05FD #8E41FE #B27EFE #D6BBFE #EDE1FF

Accessibility & contrast

On white

2.87
#B27EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B27EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EFE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EFE#FFFFFF#000000##000000
##B27EFE1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#A396B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b27efe;
/* rgb */ color: rgb(178, 126, 254);
/* oklch */ color: oklch(70.0% 0.185 300.4);
Tailwind
colors: {
  custom: {
    50: '#cca4ff',
    500: '#b27efe',
    950: '#000000',
  },
}
SCSS
$custom: #b27efe;
$custom-light: #cca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b27efe",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 264.375,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.18512,
    "h": 300.4
  },
  "luminance": 0.31542
}

Semantic roles & 50–950 ramp

primary
#B27EFE
secondary
#E9F7D4
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B27EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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