#B27FFE#B27FFE

#B27FFE is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.184 H 300.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B27FFE
RGBrgb(178, 127, 254)
HSLhsl(264, 98%, 75%)
HSVhsv(264, 50%, 100%)
CMYKcmyk(29.9%, 50%, 0%, 0.4%)
CIE-LABlab(63.18, 45.03, -56.31)
CIE-LCHlch(63.18, 72.10, 308.65°)
OKLaboklab(70.12% 0.0925 -0.1586)
OKLCHoklch(70.12% 0.184 300.3)
XYZxyz(43.8347, 31.7992, 97.5752)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FFE #CBFE7F
analogous
#7F8CFE #B27FFE #F17FFE
triadic
#B27FFE #FEB27F #7FFEB2
tetradic
#B27FFE #FE7F8C #CBFE7F #7FFEF1
square
#B27FFE #FE7F8C #CBFE7F #7FFEF1
split-complementary
#B27FFE #FEF17F #8CFE7F
monochromatic
#6906FD #8D42FE #B27FFE #D7BCFE #EDE1FF

Accessibility & contrast

On white

2.85
#B27FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B27FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FFE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FFE#FFFFFF#000000##000000
##B27FFE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#A397B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b27ffe;
/* rgb */ color: rgb(178, 127, 254);
/* oklch */ color: oklch(70.1% 0.184 300.3);
Tailwind
colors: {
  custom: {
    50: '#cca5ff',
    500: '#b27ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b27ffe;
$custom-light: #cca5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ffe",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 264.094,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.18362,
    "h": 300.3
  },
  "luminance": 0.31799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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