#B27FF6#B27FF6

#B27FF6 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.174 H 301.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B27FF6
RGBrgb(178, 127, 246)
HSLhsl(266, 87%, 73%)
HSVhsv(266, 48%, 96%)
CMYKcmyk(27.6%, 48.4%, 0%, 3.5%)
CIE-LABlab(62.76, 43.11, -52.58)
CIE-LCHlch(62.76, 67.99, 309.35°)
OKLaboklab(69.67% 0.0918 -0.1477)
OKLCHoklch(69.67% 0.174 301.9)
XYZxyz(42.5803, 31.2975, 90.9687)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FF6 #C3F67F
analogous
#7F87F6 #B27FF6 #ED7FF6
triadic
#B27FF6 #F6B27F #7FF6B2
tetradic
#B27FF6 #F67F87 #C3F67F #7FF6ED
square
#B27FF6 #F67F87 #C3F67F #7FF6ED
split-complementary
#B27FF6 #F6ED7F #87F67F
monochromatic
#6E10EA #9046F2 #B27FF6 #D4B8FA #EEE2FD

Accessibility & contrast

On white

2.89
#B27FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B27FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FF6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FF6#FFFFFF#000000##000000
##B27FF61.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#A595AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b27ff6;
/* rgb */ color: rgb(178, 127, 246);
/* oklch */ color: oklch(69.7% 0.174 301.9);
Tailwind
colors: {
  custom: {
    50: '#cca5fa',
    500: '#b27ff6',
    950: '#000000',
  },
}
SCSS
$custom: #b27ff6;
$custom-light: #cca5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ff6",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 265.714,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69669,
    "c": 0.1739,
    "h": 301.9
  },
  "luminance": 0.31298
}

Semantic roles & 50–950 ramp

primary
#B27FF6
secondary
#E8F5D6
accent
#E30283
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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