#B27FFA#B27FFA

#B27FFA is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.179 H 301.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B27FFA
RGBrgb(178, 127, 250)
HSLhsl(265, 92%, 74%)
HSVhsv(265, 49%, 98%)
CMYKcmyk(28.8%, 49.2%, 0%, 2%)
CIE-LABlab(62.97, 44.06, -54.45)
CIE-LCHlch(62.97, 70.05, 308.98°)
OKLaboklab(69.89% 0.0922 -0.1532)
OKLCHoklch(69.89% 0.179 301)
XYZxyz(43.2008, 31.5457, 94.2369)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FFA #C7FA7F
analogous
#7F8AFA #B27FFA #F07FFA
triadic
#B27FFA #FAB27F #7FFAB2
tetradic
#B27FFA #FA7F8A #C7FA7F #7FFAF0
square
#B27FFA #FA7F8A #C7FA7F #7FFAF0
split-complementary
#B27FFA #FAF07F #8AFA7F
monochromatic
#6B0AF5 #8F44F8 #B27FFA #D5BAFC #EDE2FE

Accessibility & contrast

On white

2.87
#B27FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B27FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FFA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FFA#FFFFFF#000000##000000
##B27FFA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#A496B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b27ffa;
/* rgb */ color: rgb(178, 127, 250);
/* oklch */ color: oklch(69.9% 0.179 301.0);
Tailwind
colors: {
  custom: {
    50: '#cca5fc',
    500: '#b27ffa',
    950: '#000000',
  },
}
SCSS
$custom: #b27ffa;
$custom-light: #cca5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ffa",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 264.878,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69891,
    "c": 0.17876,
    "h": 301
  },
  "luminance": 0.31546
}

Semantic roles & 50–950 ramp

primary
#B27FFA
secondary
#E8F6D5
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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