#B27EFA#B27EFA

#B27EFA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.180 H 301.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B27EFA
RGBrgb(178, 126, 250)
HSLhsl(265, 93%, 74%)
HSVhsv(265, 50%, 98%)
CMYKcmyk(28.8%, 49.6%, 0%, 2%)
CIE-LABlab(62.75, 44.61, -54.79)
CIE-LCHlch(62.75, 70.66, 309.15°)
OKLaboklab(69.73% 0.0935 -0.1542)
OKLCHoklch(69.73% 0.18 301.2)
XYZxyz(43.0723, 31.2887, 94.1941)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EFA #C6FA7E
analogous
#7E88FA #B27EFA #F07EFA
triadic
#B27EFA #FAB27E #7EFAB2
tetradic
#B27EFA #FA7E88 #C6FA7E #7EFAF0
square
#B27EFA #FA7E88 #C6FA7E #7EFAF0
split-complementary
#B27EFA #FAF07E #88FA7E
monochromatic
#6C09F4 #8F43F8 #B27EFA #D5B9FC #EDE2FE

Accessibility & contrast

On white

2.89
#B27EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B27EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27EFA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EFA#FFFFFF#000000##000000
##B27EFA1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#A495B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b27efa;
/* rgb */ color: rgb(178, 126, 250);
/* oklch */ color: oklch(69.7% 0.180 301.2);
Tailwind
colors: {
  custom: {
    50: '#cca4fc',
    500: '#b27efa',
    950: '#000000',
  },
}
SCSS
$custom: #b27efa;
$custom-light: #cca4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b27efa",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 265.161,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69731,
    "c": 0.18028,
    "h": 301.2
  },
  "luminance": 0.31289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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