#B27EFC#B27EFC

#B27EFC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.183 H 300.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B27EFC
RGBrgb(178, 126, 252)
HSLhsl(265, 95%, 74%)
HSVhsv(265, 50%, 99%)
CMYKcmyk(29.4%, 50%, 0%, 1.2%)
CIE-LABlab(62.86, 45.09, -55.72)
CIE-LCHlch(62.86, 71.68, 308.98°)
OKLaboklab(69.84% 0.0936 -0.1569)
OKLCHoklch(69.84% 0.183 300.8)
XYZxyz(43.3876, 31.4148, 95.8544)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EFC #C8FC7E
analogous
#7E89FC #B27EFC #F17EFC
triadic
#B27EFC #FCB27E #7EFCB2
tetradic
#B27EFC #FC7E89 #C8FC7E #7EFCF1
square
#B27EFC #FC7E89 #C8FC7E #7EFCF1
split-complementary
#B27EFC #FCF17E #89FC7E
monochromatic
#6B06F9 #8E42FB #B27EFC #D6BAFD #EDE1FE

Accessibility & contrast

On white

2.88
#B27EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B27EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EFC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EFC#FFFFFF#000000##000000
##B27EFC1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#A496B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b27efc;
/* rgb */ color: rgb(178, 126, 252);
/* oklch */ color: oklch(69.8% 0.183 300.8);
Tailwind
colors: {
  custom: {
    50: '#cca4fe',
    500: '#b27efc',
    950: '#000000',
  },
}
SCSS
$custom: #b27efc;
$custom-light: #cca4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b27efc",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 264.762,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69844,
    "c": 0.1827,
    "h": 300.8
  },
  "luminance": 0.31415
}

Semantic roles & 50–950 ramp

primary
#B27EFC
secondary
#E8F7D4
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B27EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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