#B27FCF#B27FCF

#B27FCF is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.7% C 0.127 H 312.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B27FCF
RGBrgb(178, 127, 207)
HSLhsl(278, 45%, 65%)
HSVhsv(278, 39%, 81%)
CMYKcmyk(14%, 38.6%, 0%, 18.8%)
CIE-LABlab(60.91, 34.25, -33.77)
CIE-LCHlch(60.91, 48.10, 315.40°)
OKLaboklab(67.68% 0.0857 -0.0932)
OKLCHoklch(67.68% 0.127 312.6)
XYZxyz(37.2101, 29.1494, 62.6856)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FCF #9CCF7F
analogous
#8A7FCF #B27FCF #CF7FC4
triadic
#B27FCF #CFB27F #7FCFB2
tetradic
#B27FCF #CF8A7F #9CCF7F #7FC4CF
square
#B27FCF #CF8A7F #9CCF7F #7FC4CF
split-complementary
#B27FCF #C4CF7F #7FCF8A
monochromatic
#773A9A #9752BE #B27FCF #CDACE0 #E8D8F0

Accessibility & contrast

On white

3.07
#B27FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B27FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FCF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FCF#FFFFFF#000000##000000
##B27FCF1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7090D2
Deuteranopia (green-blind)
#7D94CD
Tritanopia (blue-blind)
#AF8A9D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b27fcf;
/* rgb */ color: rgb(178, 127, 207);
/* oklch */ color: oklch(67.7% 0.127 312.6);
Tailwind
colors: {
  custom: {
    50: '#caa5de',
    500: '#b27fcf',
    950: '#000000',
  },
}
SCSS
$custom: #b27fcf;
$custom-light: #caa5de;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fcf",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 278.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.1266,
    "h": 312.6
  },
  "luminance": 0.29149
}

Semantic roles & 50–950 ramp

primary
#B27FCF
secondary
#D1E2C8
accent
#B92D60
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B27FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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