#B27DFE#B27DFE

#B27DFE is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.187 H 300.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B27DFE
RGBrgb(178, 125, 254)
HSLhsl(265, 98%, 74%)
HSVhsv(265, 51%, 100%)
CMYKcmyk(29.9%, 50.8%, 0%, 0.4%)
CIE-LABlab(62.75, 46.11, -56.99)
CIE-LCHlch(62.75, 73.31, 308.98°)
OKLaboklab(69.8% 0.0951 -0.1606)
OKLCHoklch(69.8% 0.187 300.6)
XYZxyz(43.5789, 31.2878, 97.4900)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27DFE #C9FE7D
analogous
#7D89FE #B27DFE #F27DFE
triadic
#B27DFE #FEB27D #7DFEB2
tetradic
#B27DFE #FE7D89 #C9FE7D #7DFEF2
square
#B27DFE #FE7D89 #C9FE7D #7DFEF2
split-complementary
#B27DFE #FEF27D #89FE7D
monochromatic
#6A04FD #8E40FE #B27DFE #D6BAFE #EDE1FF

Accessibility & contrast

On white

2.89
#B27DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B27DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27DFE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27DFE#FFFFFF#000000##000000
##B27DFE1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#A395B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b27dfe;
/* rgb */ color: rgb(178, 125, 254);
/* oklch */ color: oklch(69.8% 0.187 300.6);
Tailwind
colors: {
  custom: {
    50: '#cca4ff',
    500: '#b27dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b27dfe;
$custom-light: #cca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b27dfe",
  "rgb": {
    "r": 178,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 264.651,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69799,
    "c": 0.18662,
    "h": 300.6
  },
  "luminance": 0.31288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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