#B27BF6#B27BF6

#B27BF6 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.0% C 0.180 H 302.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B27BF6
RGBrgb(178, 123, 246)
HSLhsl(267, 87%, 72%)
HSVhsv(267, 50%, 96%)
CMYKcmyk(27.6%, 50%, 0%, 3.5%)
CIE-LABlab(61.90, 45.29, -53.94)
CIE-LCHlch(61.90, 70.43, 310.02°)
OKLaboklab(69.03% 0.097 -0.1517)
OKLCHoklch(69.03% 0.18 302.6)
XYZxyz(42.0739, 30.2847, 90.7999)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BF6 #BFF67B
analogous
#7B82F6 #B27BF6 #EF7BF6
triadic
#B27BF6 #F6B27B #7BF6B2
tetradic
#B27BF6 #F67B82 #BFF67B #7BF6EF
square
#B27BF6 #F67B82 #BFF67B #7BF6EF
split-complementary
#B27BF6 #F6EF7B #82F67B
monochromatic
#7010E7 #9142F2 #B27BF6 #D3B4FA #EEE2FD

Accessibility & contrast

On white

2.98
#B27BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B27BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27BF6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BF6#FFFFFF#000000##000000
##B27BF61.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#A692AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27bf6;
/* rgb */ color: rgb(178, 123, 246);
/* oklch */ color: oklch(69.0% 0.180 302.6);
Tailwind
colors: {
  custom: {
    50: '#cca2fa',
    500: '#b27bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b27bf6;
$custom-light: #cca2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bf6",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 266.829,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.18004,
    "h": 302.6
  },
  "luminance": 0.30285
}

Semantic roles & 50–950 ramp

primary
#B27BF6
secondary
#E7F5D6
accent
#E4027F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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