#B27EF2#B27EF2

#B27EF2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.171 H 302.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B27EF2
RGBrgb(178, 126, 242)
HSLhsl(267, 82%, 72%)
HSVhsv(267, 48%, 95%)
CMYKcmyk(26.4%, 47.9%, 0%, 5.1%)
CIE-LABlab(62.34, 42.71, -51.04)
CIE-LCHlch(62.34, 66.55, 309.92°)
OKLaboklab(69.29% 0.0927 -0.1432)
OKLCHoklch(69.29% 0.171 302.9)
XYZxyz(41.8444, 30.7975, 87.7272)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EF2 #BEF27E
analogous
#7E84F2 #B27EF2 #EC7EF2
triadic
#B27EF2 #F2B27E #7EF2B2
tetradic
#B27EF2 #F27E84 #BEF27E #7EF2EC
square
#B27EF2 #F27E84 #BEF27E #7EF2EC
split-complementary
#B27EF2 #F2EC7E #84F27E
monochromatic
#7016DF #9146EC #B27EF2 #D3B6F8 #EEE3FC

Accessibility & contrast

On white

2.93
#B27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B27EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EF2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EF2#FFFFFF#000000##000000
##B27EF21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#6996EF
Tritanopia (blue-blind)
#A793AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27ef2;
/* rgb */ color: rgb(178, 126, 242);
/* oklch */ color: oklch(69.3% 0.171 302.9);
Tailwind
colors: {
  custom: {
    50: '#cca4f7',
    500: '#b27ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b27ef2;
$custom-light: #cca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ef2",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 266.897,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.17058,
    "h": 302.9
  },
  "luminance": 0.30797
}

Semantic roles & 50–950 ramp

primary
#B27EF2
secondary
#E7F4D7
accent
#DE077E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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