#B27FCA#B27FCA

#B27FCA is a light, vivid purple. Relative luminance 0.289; OKLCH L 67.5% C 0.121 H 314.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B27FCA
RGBrgb(178, 127, 202)
HSLhsl(281, 41%, 65%)
HSVhsv(281, 37%, 79%)
CMYKcmyk(11.9%, 37.1%, 0%, 20.8%)
CIE-LABlab(60.70, 33.18, -31.28)
CIE-LCHlch(60.70, 45.60, 316.69°)
OKLaboklab(67.45% 0.0846 -0.0861)
OKLCHoklch(67.45% 0.121 314.5)
XYZxyz(36.6085, 28.9087, 59.5171)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FCA #97CA7F
analogous
#8D7FCA #B27FCA #CA7FBD
triadic
#B27FCA #CAB27F #7FCAB2
tetradic
#B27FCA #CA8D7F #97CA7F #7FBDCA
square
#B27FCA #CA8D7F #97CA7F #7FBDCA
split-complementary
#B27FCA #BDCA7F #7FCA8D
monochromatic
#773C92 #9854B8 #B27FCA #CCAADC #E6D6EE

Accessibility & contrast

On white

3.10
#B27FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B27FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FCA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FCA#FFFFFF#000000##000000
##B27FCA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCD
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#B1899B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b27fca;
/* rgb */ color: rgb(178, 127, 202);
/* oklch */ color: oklch(67.5% 0.121 314.5);
Tailwind
colors: {
  custom: {
    50: '#caa5da',
    500: '#b27fca',
    950: '#000000',
  },
}
SCSS
$custom: #b27fca;
$custom-light: #caa5da;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fca",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 280.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67452,
    "c": 0.12068,
    "h": 314.5
  },
  "luminance": 0.28908
}

Semantic roles & 50–950 ramp

primary
#B27FCA
secondary
#CEDFC5
accent
#B4315B
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #B27FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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