#B27AFE#B27AFE

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

Color values

HEX#B27AFE
RGBrgb(178, 122, 254)
HSLhsl(265, 99%, 74%)
HSVhsv(265, 52%, 100%)
CMYKcmyk(29.9%, 52%, 0%, 0.4%)
CIE-LABlab(62.12, 47.73, -58.00)
CIE-LCHlch(62.12, 75.12, 309.45°)
OKLaboklab(69.33% 0.0989 -0.1635)
OKLCHoklch(69.33% 0.191 301.2)
XYZxyz(43.2049, 30.5396, 97.3653)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27AFE #C6FE7A
analogous
#7A84FE #B27AFE #F47AFE
triadic
#B27AFE #FEB27A #7AFEB2
tetradic
#B27AFE #FE7A84 #C6FE7A #7AFEF4
square
#B27AFE #FE7A84 #C6FE7A #7AFEF4
split-complementary
#B27AFE #FEF47A #84FE7A
monochromatic
#6C02FC #8F3DFE #B27AFE #D5B7FE #EDE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B27AFE#FFFFFF#000000##000000
##B27AFE1.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)
#4B95FF
Deuteranopia (green-blind)
#5B95FB
Tritanopia (blue-blind)
#A393B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27afe;
/* rgb */ color: rgb(178, 122, 254);
/* oklch */ color: oklch(69.3% 0.191 301.2);
Tailwind
colors: {
  custom: {
    50: '#cca2ff',
    500: '#b27afe',
    950: '#000000',
  },
}
SCSS
$custom: #b27afe;
$custom-light: #cca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b27afe",
  "rgb": {
    "r": 178,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 265.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6933,
    "c": 0.1911,
    "h": 301.2
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

primary
#B27AFE
secondary
#E8F7D4
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B27AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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