#B27EF8#B27EF8

#B27EF8 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.178 H 301.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B27EF8
RGBrgb(178, 126, 248)
HSLhsl(266, 90%, 73%)
HSVhsv(266, 49%, 97%)
CMYKcmyk(28.2%, 49.2%, 0%, 2.7%)
CIE-LABlab(62.65, 44.13, -53.86)
CIE-LCHlch(62.65, 69.63, 309.33°)
OKLaboklab(69.62% 0.0933 -0.1514)
OKLCHoklch(69.62% 0.178 301.6)
XYZxyz(42.7604, 31.1639, 92.5512)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EF8 #C4F87E
analogous
#7E87F8 #B27EF8 #EF7EF8
triadic
#B27EF8 #F8B27E #7EF8B2
tetradic
#B27EF8 #F87E87 #C4F87E #7EF8EF
square
#B27EF8 #F87E87 #C4F87E #7EF8EF
split-complementary
#B27EF8 #F8EF7E #87F87E
monochromatic
#6D0DEF #8F44F5 #B27EF8 #D5B8FB #EEE2FD

Accessibility & contrast

On white

2.90
#B27EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B27EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EF8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EF8#FFFFFF#000000##000000
##B27EF81.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#A594B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27ef8;
/* rgb */ color: rgb(178, 126, 248);
/* oklch */ color: oklch(69.6% 0.178 301.6);
Tailwind
colors: {
  custom: {
    50: '#cca4fb',
    500: '#b27ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b27ef8;
$custom-light: #cca4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ef8",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 265.574,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69619,
    "c": 0.17786,
    "h": 301.6
  },
  "luminance": 0.31164
}

Semantic roles & 50–950 ramp

primary
#B27EF8
secondary
#E8F6D5
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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