#B27FEB#B27FEB

#B27FEB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.160 H 304.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B27FEB
RGBrgb(178, 127, 235)
HSLhsl(268, 73%, 71%)
HSVhsv(268, 46%, 92%)
CMYKcmyk(24.3%, 46%, 0%, 7.8%)
CIE-LABlab(62.20, 40.52, -47.38)
CIE-LCHlch(62.20, 62.34, 310.54°)
OKLaboklab(69.08% 0.0905 -0.1325)
OKLCHoklch(69.08% 0.16 304.3)
XYZxyz(40.9417, 30.6420, 82.3388)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FEB #B8EB7F
analogous
#7F82EB #B27FEB #E87FEB
triadic
#B27FEB #EBB27F #7FEBB2
tetradic
#B27FEB #EB7F82 #B8EB7F #7FEBE8
square
#B27FEB #EB7F82 #B8EB7F #7FEBE8
split-complementary
#B27FEB #EBE87F #82EB7F
monochromatic
#7320CF #924AE3 #B27FEB #D2B4F3 #EFE5FB

Accessibility & contrast

On white

2.95
#B27FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B27FEB#FFFFFF#000000##000000
##B27FEB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#A891AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27feb;
/* rgb */ color: rgb(178, 127, 235);
/* oklch */ color: oklch(69.1% 0.160 304.3);
Tailwind
colors: {
  custom: {
    50: '#cba5f2',
    500: '#b27feb',
    950: '#000000',
  },
}
SCSS
$custom: #b27feb;
$custom-light: #cba5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b27feb",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 268.333,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69075,
    "c": 0.16048,
    "h": 304.3
  },
  "luminance": 0.30642
}

Semantic roles & 50–950 ramp

primary
#B27FEB
secondary
#E4F1D5
accent
#D51078
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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