#B27FFD#B27FFD

#B27FFD is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.1% C 0.182 H 300.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B27FFD
RGBrgb(178, 127, 253)
HSLhsl(264, 97%, 75%)
HSVhsv(264, 50%, 99%)
CMYKcmyk(29.6%, 49.8%, 0%, 0.8%)
CIE-LABlab(63.12, 44.79, -55.85)
CIE-LCHlch(63.12, 71.59, 308.73°)
OKLaboklab(70.06% 0.0925 -0.1572)
OKLCHoklch(70.06% 0.182 300.5)
XYZxyz(43.6750, 31.7353, 96.7340)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FFD #CAFD7F
analogous
#7F8BFD #B27FFD #F17FFD
triadic
#B27FFD #FDB27F #7FFDB2
tetradic
#B27FFD #FD7F8B #CAFD7F #7FFDF1
square
#B27FFD #FD7F8B #CAFD7F #7FFDF1
split-complementary
#B27FFD #FDF17F #8BFD7F
monochromatic
#6A06FB #8E43FC #B27FFD #D6BBFE #EDE1FF

Accessibility & contrast

On white

2.86
#B27FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B27FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FFD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FFD#FFFFFF#000000##000000
##B27FFD1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#A397B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b27ffd;
/* rgb */ color: rgb(178, 127, 253);
/* oklch */ color: oklch(70.1% 0.182 300.5);
Tailwind
colors: {
  custom: {
    50: '#cca5ff',
    500: '#b27ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b27ffd;
$custom-light: #cca5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ffd",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 264.286,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7006,
    "c": 0.18241,
    "h": 300.5
  },
  "luminance": 0.31736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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