#B27BFD#B27BFD

#B27BFD is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.188 H 301.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B27BFD
RGBrgb(178, 123, 253)
HSLhsl(265, 97%, 74%)
HSVhsv(265, 51%, 99%)
CMYKcmyk(29.6%, 51.4%, 0%, 0.8%)
CIE-LABlab(62.27, 46.96, -57.20)
CIE-LCHlch(62.27, 74.01, 309.38°)
OKLaboklab(69.43% 0.0975 -0.1612)
OKLCHoklch(69.43% 0.188 301.2)
XYZxyz(43.1686, 30.7226, 96.5652)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BFD #C6FD7B
analogous
#7B85FD #B27BFD #F37BFD
triadic
#B27BFD #FDB27B #7BFDB2
tetradic
#B27BFD #FD7B85 #C6FD7B #7BFDF3
square
#B27BFD #FD7B85 #C6FD7B #7BFDF3
split-complementary
#B27BFD #FDF37B #85FD7B
monochromatic
#6C04FA #8F3FFC #B27BFD #D5B7FE #EDE1FF

Accessibility & contrast

On white

2.94
#B27BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B27BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27BFD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BFD#FFFFFF#000000##000000
##B27BFD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#A394B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27bfd;
/* rgb */ color: rgb(178, 123, 253);
/* oklch */ color: oklch(69.4% 0.188 301.2);
Tailwind
colors: {
  custom: {
    50: '#cca2ff',
    500: '#b27bfd',
    950: '#000000',
  },
}
SCSS
$custom: #b27bfd;
$custom-light: #cca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bfd",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 265.385,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69428,
    "c": 0.18842,
    "h": 301.2
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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