#B27FC2#B27FC2

#B27FC2 is a light, moderate purple. Relative luminance 0.285; OKLCH L 67.1% C 0.111 H 317.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B27FC2
RGBrgb(178, 127, 194)
HSLhsl(286, 35%, 63%)
HSVhsv(286, 35%, 76%)
CMYKcmyk(8.2%, 34.5%, 0%, 23.9%)
CIE-LABlab(60.37, 31.51, -27.27)
CIE-LCHlch(60.37, 41.68, 319.13°)
OKLaboklab(67.1% 0.0827 -0.0747)
OKLCHoklch(67.1% 0.111 317.9)
XYZxyz(35.6857, 28.5396, 54.6573)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FC2 #8FC27F
analogous
#907FC2 #B27FC2 #C27FB0
triadic
#B27FC2 #C2B27F #7FC2B2
tetradic
#B27FC2 #C2907F #8FC27F #7FB0C2
square
#B27FC2 #C2907F #8FC27F #7FB0C2
split-complementary
#B27FC2 #B0C27F #7FC290
monochromatic
#764087 #9956AE #B27FC2 #CBA8D6 #E4D2EA

Accessibility & contrast

On white

3.13
#B27FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B27FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FC2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FC2#FFFFFF#000000##000000
##B27FC21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC5
Deuteranopia (green-blind)
#8293C0
Tritanopia (blue-blind)
#B28798
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b27fc2;
/* rgb */ color: rgb(178, 127, 194);
/* oklch */ color: oklch(67.1% 0.111 317.9);
Tailwind
colors: {
  custom: {
    50: '#caa5d4',
    500: '#b27fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b27fc2;
$custom-light: #caa5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fc2",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 285.672,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67096,
    "c": 0.11139,
    "h": 317.9
  },
  "luminance": 0.28539
}

Semantic roles & 50–950 ramp

primary
#B27FC2
secondary
#C8DAC2
accent
#AE3754
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Preview Lab

Preview with #B27FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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