#B27FDA#B27FDA

#B27FDA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.140 H 308.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B27FDA
RGBrgb(178, 127, 218)
HSLhsl(274, 55%, 68%)
HSVhsv(274, 42%, 85%)
CMYKcmyk(18.3%, 41.7%, 0%, 14.5%)
CIE-LABlab(61.40, 36.66, -39.18)
CIE-LCHlch(61.40, 53.65, 313.10°)
OKLaboklab(68.21% 0.0878 -0.1088)
OKLCHoklch(68.21% 0.14 308.9)
XYZxyz(38.6020, 29.7062, 70.0164)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FDA #A7DA7F
analogous
#847FDA #B27FDA #DA7FD5
triadic
#B27FDA #DAB27F #7FDAB2
tetradic
#B27FDA #DA847F #A7DA7F #7FD5DA
square
#B27FDA #DA847F #A7DA7F #7FD5DA
split-complementary
#B27FDA #D5DA7F #7FDA84
monochromatic
#7732AD #9550CC #B27FDA #CFAEE8 #EBDEF5

Accessibility & contrast

On white

3.03
#B27FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B27FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FDA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FDA#FFFFFF#000000##000000
##B27FDA1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B92DD
Deuteranopia (green-blind)
#7895D8
Tritanopia (blue-blind)
#AD8DA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b27fda;
/* rgb */ color: rgb(178, 127, 218);
/* oklch */ color: oklch(68.2% 0.140 308.9);
Tailwind
colors: {
  custom: {
    50: '#caa5e6',
    500: '#b27fda',
    950: '#000000',
  },
}
SCSS
$custom: #b27fda;
$custom-light: #caa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fda",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 273.626,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68209,
    "c": 0.13981,
    "h": 308.9
  },
  "luminance": 0.29706
}

Semantic roles & 50–950 ramp

primary
#B27FDA
secondary
#D9E9CC
accent
#C32369
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B27FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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