#B27CF8#B27CF8

#B27CF8 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.181 H 302.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B27CF8
RGBrgb(178, 124, 248)
HSLhsl(266, 90%, 73%)
HSVhsv(266, 50%, 97%)
CMYKcmyk(28.2%, 50%, 0%, 2.7%)
CIE-LABlab(62.22, 45.22, -54.54)
CIE-LCHlch(62.22, 70.85, 309.66°)
OKLaboklab(69.3% 0.0959 -0.1534)
OKLCHoklch(69.3% 0.181 302)
XYZxyz(42.5072, 30.6575, 92.4668)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27CF8 #C2F87C
analogous
#7C84F8 #B27CF8 #F07CF8
triadic
#B27CF8 #F8B27C #7CF8B2
tetradic
#B27CF8 #F87C84 #C2F87C #7CF8F0
square
#B27CF8 #F87C84 #C2F87C #7CF8F0
split-complementary
#B27CF8 #F8F07C #84F87C
monochromatic
#6E0DED #9042F5 #B27CF8 #D4B6FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.13
#B27CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27CF8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27CF8#FFFFFF#000000##000000
##B27CF81.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#A593AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27cf8;
/* rgb */ color: rgb(178, 124, 248);
/* oklch */ color: oklch(69.3% 0.181 302.0);
Tailwind
colors: {
  custom: {
    50: '#cca3fb',
    500: '#b27cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b27cf8;
$custom-light: #cca3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b27cf8",
  "rgb": {
    "r": 178,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 266.129,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.693,
    "c": 0.18092,
    "h": 302
  },
  "luminance": 0.30658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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