#B27FCB#B27FCB

#B27FCB is a light, vivid purple. Relative luminance 0.290; OKLCH L 67.5% C 0.122 H 314.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B27FCB
RGBrgb(178, 127, 203)
HSLhsl(280, 42%, 65%)
HSVhsv(280, 37%, 80%)
CMYKcmyk(12.3%, 37.4%, 0%, 20.4%)
CIE-LABlab(60.74, 33.39, -31.78)
CIE-LCHlch(60.74, 46.10, 316.42°)
OKLaboklab(67.5% 0.0848 -0.0875)
OKLCHoklch(67.5% 0.122 314.1)
XYZxyz(36.7272, 28.9563, 60.1427)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FCB #98CB7F
analogous
#8C7FCB #B27FCB #CB7FBE
triadic
#B27FCB #CBB27F #7FCBB2
tetradic
#B27FCB #CB8C7F #98CB7F #7FBECB
square
#B27FCB #CB8C7F #98CB7F #7FBECB
split-complementary
#B27FCB #BECB7F #7FCB8C
monochromatic
#773C94 #9853B9 #B27FCB #CCABDD #E6D6EE

Accessibility & contrast

On white

3.09
#B27FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B27FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FCB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FCB#FFFFFF#000000##000000
##B27FCB1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CE
Deuteranopia (green-blind)
#7E94C9
Tritanopia (blue-blind)
#B0899C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b27fcb;
/* rgb */ color: rgb(178, 127, 203);
/* oklch */ color: oklch(67.5% 0.122 314.1);
Tailwind
colors: {
  custom: {
    50: '#caa5db',
    500: '#b27fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b27fcb;
$custom-light: #caa5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fcb",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 280.263,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.12186,
    "h": 314.1
  },
  "luminance": 0.28956
}

Semantic roles & 50–950 ramp

primary
#B27FCB
secondary
#CEE0C6
accent
#B5305C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B27FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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