#B27EF7#B27EF7

#B27EF7 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.6% C 0.177 H 301.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B27EF7
RGBrgb(178, 126, 247)
HSLhsl(266, 88%, 73%)
HSVhsv(266, 49%, 97%)
CMYKcmyk(27.9%, 49%, 0%, 3.1%)
CIE-LABlab(62.59, 43.89, -53.39)
CIE-LCHlch(62.59, 69.12, 309.43°)
OKLaboklab(69.56% 0.0932 -0.1501)
OKLCHoklch(69.56% 0.177 301.8)
XYZxyz(42.6057, 31.1020, 91.7363)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EF7 #C3F77E
analogous
#7E86F7 #B27EF7 #EE7EF7
triadic
#B27EF7 #F7B27E #7EF7B2
tetradic
#B27EF7 #F77E86 #C3F77E #7EF7EE
square
#B27EF7 #F77E86 #C3F77E #7EF7EE
split-complementary
#B27EF7 #F7EE7E #86F77E
monochromatic
#6E0FEC #9044F3 #B27EF7 #D4B8FB #EEE2FD

Accessibility & contrast

On white

2.91
#B27EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B27EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EF7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EF7#FFFFFF#000000##000000
##B27EF71.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#A594AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27ef7;
/* rgb */ color: rgb(178, 126, 247);
/* oklch */ color: oklch(69.6% 0.177 301.8);
Tailwind
colors: {
  custom: {
    50: '#cca4fa',
    500: '#b27ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b27ef7;
$custom-light: #cca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ef7",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 265.785,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69563,
    "c": 0.17665,
    "h": 301.8
  },
  "luminance": 0.31102
}

Semantic roles & 50–950 ramp

primary
#B27EF7
secondary
#E8F5D6
accent
#E50183
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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