#B27BFA#B27BFA

#B27BFA is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.185 H 301.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B27BFA
RGBrgb(178, 123, 250)
HSLhsl(266, 93%, 73%)
HSVhsv(266, 51%, 98%)
CMYKcmyk(28.8%, 50.8%, 0%, 2%)
CIE-LABlab(62.11, 46.24, -55.81)
CIE-LCHlch(62.11, 72.47, 309.64°)
OKLaboklab(69.26% 0.0973 -0.1571)
OKLCHoklch(69.26% 0.185 301.8)
XYZxyz(42.6944, 30.5329, 94.0681)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BFA #C3FA7B
analogous
#7B83FA #B27BFA #F17BFA
triadic
#B27BFA #FAB27B #7BFAB2
tetradic
#B27BFA #FA7B83 #C3FA7B #7BFAF1
square
#B27BFA #FA7B83 #C3FA7B #7BFAF1
split-complementary
#B27BFA #FAF17B #83FA7B
monochromatic
#6E09F1 #9040F8 #B27BFA #D4B6FC #EEE2FE

Accessibility & contrast

On white

2.95
#B27BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B27BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27BFA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BFA#FFFFFF#000000##000000
##B27BFA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#A493AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27bfa;
/* rgb */ color: rgb(178, 123, 250);
/* oklch */ color: oklch(69.3% 0.185 301.8);
Tailwind
colors: {
  custom: {
    50: '#cca2fc',
    500: '#b27bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b27bfa;
$custom-light: #cca2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bfa",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 265.984,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69256,
    "c": 0.18483,
    "h": 301.8
  },
  "luminance": 0.30533
}

Semantic roles & 50–950 ramp

primary
#B27BFA
secondary
#E8F6D5
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B27BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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