#B27EF5#B27EF5

#B27EF5 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.174 H 302.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B27EF5
RGBrgb(178, 126, 245)
HSLhsl(266, 86%, 73%)
HSVhsv(266, 49%, 96%)
CMYKcmyk(27.3%, 48.6%, 0%, 3.9%)
CIE-LABlab(62.49, 43.42, -52.45)
CIE-LCHlch(62.49, 68.09, 309.62°)
OKLaboklab(69.45% 0.093 -0.1473)
OKLCHoklch(69.45% 0.174 302.3)
XYZxyz(42.2987, 30.9792, 90.1197)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EF5 #C1F57E
analogous
#7E86F5 #B27EF5 #ED7EF5
triadic
#B27EF5 #F5B27E #7EF5B2
tetradic
#B27EF5 #F57E86 #C1F57E #7EF5ED
square
#B27EF5 #F57E86 #C1F57E #7EF5ED
split-complementary
#B27EF5 #F5ED7E #86F57E
monochromatic
#6F12E7 #9045F1 #B27EF5 #D4B7F9 #EEE3FD

Accessibility & contrast

On white

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

On black

7.20
#B27EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EF5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EF5#FFFFFF#000000##000000
##B27EF51.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#A694AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27ef5;
/* rgb */ color: rgb(178, 126, 245);
/* oklch */ color: oklch(69.5% 0.174 302.3);
Tailwind
colors: {
  custom: {
    50: '#cca4f9',
    500: '#b27ef5',
    950: '#000000',
  },
}
SCSS
$custom: #b27ef5;
$custom-light: #cca4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ef5",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 266.218,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69452,
    "c": 0.17423,
    "h": 302.3
  },
  "luminance": 0.30979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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