#B27FCD#B27FCD

#B27FCD is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.6% C 0.124 H 313.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B27FCD
RGBrgb(178, 127, 205)
HSLhsl(279, 44%, 65%)
HSVhsv(279, 38%, 80%)
CMYKcmyk(13.2%, 38%, 0%, 19.6%)
CIE-LABlab(60.83, 33.82, -32.78)
CIE-LCHlch(60.83, 47.10, 315.90°)
OKLaboklab(67.59% 0.0852 -0.0904)
OKLCHoklch(67.59% 0.124 313.3)
XYZxyz(36.9671, 29.0522, 61.4060)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FCD #9ACD7F
analogous
#8B7FCD #B27FCD #CD7FC1
triadic
#B27FCD #CDB27F #7FCDB2
tetradic
#B27FCD #CD8B7F #9ACD7F #7FC1CD
square
#B27FCD #CD8B7F #9ACD7F #7FC1CD
split-complementary
#B27FCD #C1CD7F #7FCD8B
monochromatic
#773B97 #9853BC #B27FCD #CCABDE #E7D7EF

Accessibility & contrast

On white

3.08
#B27FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B27FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FCD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FCD#FFFFFF#000000##000000
##B27FCD1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#7E94CB
Tritanopia (blue-blind)
#B08A9C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b27fcd;
/* rgb */ color: rgb(178, 127, 205);
/* oklch */ color: oklch(67.6% 0.124 313.3);
Tailwind
colors: {
  custom: {
    50: '#caa5dc',
    500: '#b27fcd',
    950: '#000000',
  },
}
SCSS
$custom: #b27fcd;
$custom-light: #caa5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fcd",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 279.231,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67589,
    "c": 0.12422,
    "h": 313.3
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#B27FCD
secondary
#D0E1C7
accent
#B72F5E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B27FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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