#B27FED#B27FED

#B27FED is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.163 H 303.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B27FED
RGBrgb(178, 127, 237)
HSLhsl(268, 75%, 71%)
HSVhsv(268, 46%, 93%)
CMYKcmyk(24.9%, 46.4%, 0%, 7.1%)
CIE-LABlab(62.30, 40.99, -48.33)
CIE-LCHlch(62.30, 63.37, 310.30°)
OKLaboklab(69.18% 0.0908 -0.1353)
OKLCHoklch(69.18% 0.163 303.8)
XYZxyz(41.2322, 30.7583, 83.8691)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FED #BAED7F
analogous
#7F83ED #B27FED #E97FED
triadic
#B27FED #EDB27F #7FEDB2
tetradic
#B27FED #ED7F83 #BAED7F #7FEDE9
square
#B27FED #ED7F83 #BAED7F #7FEDE9
split-complementary
#B27FED #EDE97F #83ED7F
monochromatic
#721ED4 #9249E5 #B27FED #D2B5F5 #EFE4FB

Accessibility & contrast

On white

2.94
#B27FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B27FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FED
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FED#FFFFFF#000000##000000
##B27FED1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F1
Deuteranopia (green-blind)
#6D97EA
Tritanopia (blue-blind)
#A892AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27fed;
/* rgb */ color: rgb(178, 127, 237);
/* oklch */ color: oklch(69.2% 0.163 303.8);
Tailwind
colors: {
  custom: {
    50: '#cba5f3',
    500: '#b27fed',
    950: '#000000',
  },
}
SCSS
$custom: #b27fed;
$custom-light: #cba5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fed",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 267.818,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69181,
    "c": 0.16292,
    "h": 303.8
  },
  "luminance": 0.30758
}

Semantic roles & 50–950 ramp

primary
#B27FED
secondary
#E5F2D6
accent
#D80E7A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27FED

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

Preview Lab → · Contrast checker → · Palette generator →

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