#B27FE2#B27FE2

#B27FE2 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.150 H 306.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B27FE2
RGBrgb(178, 127, 226)
HSLhsl(271, 63%, 69%)
HSVhsv(271, 44%, 89%)
CMYKcmyk(21.2%, 43.8%, 0%, 11.4%)
CIE-LABlab(61.77, 38.46, -43.06)
CIE-LCHlch(61.77, 57.73, 311.77°)
OKLaboklab(68.61% 0.0892 -0.12)
OKLCHoklch(68.61% 0.15 306.6)
XYZxyz(39.6742, 30.1350, 75.6633)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FE2 #AFE27F
analogous
#817FE2 #B27FE2 #E27FE1
triadic
#B27FE2 #E2B27F #7FE2B2
tetradic
#B27FE2 #E2817F #AFE27F #7FE1E2
square
#B27FE2 #E2817F #AFE27F #7FE1E2
split-complementary
#B27FE2 #E1E27F #7FE281
monochromatic
#762BBC #944DD7 #B27FE2 #D0B1ED #EEE3F9

Accessibility & contrast

On white

2.99
#B27FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B27FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FE2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FE2#FFFFFF#000000##000000
##B27FE21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#7396DF
Tritanopia (blue-blind)
#AB8FA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b27fe2;
/* rgb */ color: rgb(178, 127, 226);
/* oklch */ color: oklch(68.6% 0.150 306.6);
Tailwind
colors: {
  custom: {
    50: '#cba5eb',
    500: '#b27fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b27fe2;
$custom-light: #cba5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fe2",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 270.909,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68609,
    "c": 0.14952,
    "h": 306.6
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#B27FE2
secondary
#DEEDD0
accent
#CB1B70
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B27FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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