#B27EF4#B27EF4

#B27EF4 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.4% C 0.173 H 302.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B27EF4
RGBrgb(178, 126, 244)
HSLhsl(266, 84%, 73%)
HSVhsv(266, 48%, 96%)
CMYKcmyk(27%, 48.4%, 0%, 4.3%)
CIE-LABlab(62.44, 43.18, -51.98)
CIE-LCHlch(62.44, 67.58, 309.72°)
OKLaboklab(69.4% 0.0929 -0.146)
OKLCHoklch(69.4% 0.173 302.5)
XYZxyz(42.1464, 30.9183, 89.3179)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EF4 #C0F47E
analogous
#7E85F4 #B27EF4 #ED7EF4
triadic
#B27EF4 #F4B27E #7EF4B2
tetradic
#B27EF4 #F47E85 #C0F47E #7EF4ED
square
#B27EF4 #F47E85 #C0F47E #7EF4ED
split-complementary
#B27EF4 #F4ED7E #85F47E
monochromatic
#6F13E4 #9046EF #B27EF4 #D4B6F9 #EEE3FD

Accessibility & contrast

On white

2.92
#B27EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B27EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EF4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EF4#FFFFFF#000000##000000
##B27EF41.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F8
Deuteranopia (green-blind)
#6797F1
Tritanopia (blue-blind)
#A693AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27ef4;
/* rgb */ color: rgb(178, 126, 244);
/* oklch */ color: oklch(69.4% 0.173 302.5);
Tailwind
colors: {
  custom: {
    50: '#cca4f8',
    500: '#b27ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b27ef4;
$custom-light: #cca4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ef4",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 266.441,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69397,
    "c": 0.17301,
    "h": 302.5
  },
  "luminance": 0.30918
}

Semantic roles & 50–950 ramp

primary
#B27EF4
secondary
#E7F5D6
accent
#E10580
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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