#B27FEF#B27FEF

#B27FEF is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.165 H 303.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B27FEF
RGBrgb(178, 127, 239)
HSLhsl(267, 78%, 72%)
HSVhsv(267, 47%, 94%)
CMYKcmyk(25.5%, 46.9%, 0%, 6.3%)
CIE-LABlab(62.40, 41.46, -49.28)
CIE-LCHlch(62.40, 64.40, 310.07°)
OKLaboklab(69.29% 0.091 -0.1381)
OKLCHoklch(69.29% 0.165 303.4)
XYZxyz(41.5261, 30.8758, 85.4166)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FEF #BCEF7F
analogous
#7F84EF #B27FEF #EA7FEF
triadic
#B27FEF #EFB27F #7FEFB2
tetradic
#B27FEF #EF7F84 #BCEF7F #7FEFEA
square
#B27FEF #EF7F84 #BCEF7F #7FEFEA
split-complementary
#B27FEF #EFEA7F #84EF7F
monochromatic
#711BD9 #9149E8 #B27FEF #D3B5F6 #EFE4FC

Accessibility & contrast

On white

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

On black

7.18
#B27FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FEF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FEF#FFFFFF#000000##000000
##B27FEF1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#A793AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27fef;
/* rgb */ color: rgb(178, 127, 239);
/* oklch */ color: oklch(69.3% 0.165 303.4);
Tailwind
colors: {
  custom: {
    50: '#cba5f5',
    500: '#b27fef',
    950: '#000000',
  },
}
SCSS
$custom: #b27fef;
$custom-light: #cba5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fef",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 267.321,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.16537,
    "h": 303.4
  },
  "luminance": 0.30876
}

Semantic roles & 50–950 ramp

primary
#B27FEF
secondary
#E6F3D7
accent
#DA0B7C
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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