#B27AF8#B27AF8

#B27AF8 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.184 H 302.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B27AF8
RGBrgb(178, 122, 248)
HSLhsl(267, 90%, 73%)
HSVhsv(267, 51%, 97%)
CMYKcmyk(28.2%, 50.8%, 0%, 2.7%)
CIE-LABlab(61.79, 46.30, -55.21)
CIE-LCHlch(61.79, 72.06, 309.98°)
OKLaboklab(68.99% 0.0985 -0.1554)
OKLCHoklch(68.99% 0.184 302.4)
XYZxyz(42.2591, 30.1613, 92.3841)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27AF8 #C0F87A
analogous
#7A81F8 #B27AF8 #F17AF8
triadic
#B27AF8 #F8B27A #7AF8B2
tetradic
#B27AF8 #F87A81 #C0F87A #7AF8F1
square
#B27AF8 #F87A81 #C0F87A #7AF8F1
split-complementary
#B27AF8 #F8F17A #81F87A
monochromatic
#6F0CEB #9040F5 #B27AF8 #D4B4FB #EEE2FD

Accessibility & contrast

On white

2.99
#B27AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B27AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27AF8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27AF8#FFFFFF#000000##000000
##B27AF81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#6095F5
Tritanopia (blue-blind)
#A591AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b27af8;
/* rgb */ color: rgb(178, 122, 248);
/* oklch */ color: oklch(69.0% 0.184 302.4);
Tailwind
colors: {
  custom: {
    50: '#cca2fb',
    500: '#b27af8',
    950: '#000000',
  },
}
SCSS
$custom: #b27af8;
$custom-light: #cca2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b27af8",
  "rgb": {
    "r": 178,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 266.667,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68985,
    "c": 0.18395,
    "h": 302.4
  },
  "luminance": 0.30161
}

Semantic roles & 50–950 ramp

primary
#B27AF8
secondary
#E7F6D5
accent
#E6007F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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