#B27CFA#B27CFA

#B27CFA is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.183 H 301.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B27CFA
RGBrgb(178, 124, 250)
HSLhsl(266, 93%, 73%)
HSVhsv(266, 50%, 98%)
CMYKcmyk(28.8%, 50.4%, 0%, 2%)
CIE-LABlab(62.32, 45.70, -55.47)
CIE-LCHlch(62.32, 71.87, 309.48°)
OKLaboklab(69.41% 0.096 -0.1561)
OKLCHoklch(69.41% 0.183 301.6)
XYZxyz(42.8191, 30.7823, 94.1097)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27CFA #C4FA7C
analogous
#7C85FA #B27CFA #F17CFA
triadic
#B27CFA #FAB27C #7CFAB2
tetradic
#B27CFA #FA7C85 #C4FA7C #7CFAF1
square
#B27CFA #FA7C85 #C4FA7C #7CFAF1
split-complementary
#B27CFA #FAF17C #85FA7C
monochromatic
#6D09F2 #8F41F8 #B27CFA #D5B7FC #EEE2FE

Accessibility & contrast

On white

2.93
#B27CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B27CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27CFA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27CFA#FFFFFF#000000##000000
##B27CFA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#A493B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27cfa;
/* rgb */ color: rgb(178, 124, 250);
/* oklch */ color: oklch(69.4% 0.183 301.6);
Tailwind
colors: {
  custom: {
    50: '#cca3fc',
    500: '#b27cfa',
    950: '#000000',
  },
}
SCSS
$custom: #b27cfa;
$custom-light: #cca3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b27cfa",
  "rgb": {
    "r": 178,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 265.714,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69413,
    "c": 0.18332,
    "h": 301.6
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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