#B27FF3#B27FF3

#B27FF3 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.170 H 302.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B27FF3
RGBrgb(178, 127, 243)
HSLhsl(266, 83%, 73%)
HSVhsv(266, 48%, 95%)
CMYKcmyk(26.7%, 47.7%, 0%, 4.7%)
CIE-LABlab(62.60, 42.40, -51.17)
CIE-LCHlch(62.60, 66.45, 309.65°)
OKLaboklab(69.5% 0.0915 -0.1436)
OKLCHoklch(69.5% 0.17 302.5)
XYZxyz(42.1235, 31.1148, 88.5632)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FF3 #C0F37F
analogous
#7F86F3 #B27FF3 #EC7FF3
triadic
#B27FF3 #F3B27F #7FF3B2
tetradic
#B27FF3 #F37F86 #C0F37F #7FF3EC
square
#B27FF3 #F37F86 #C0F37F #7FF3EC
split-complementary
#B27FF3 #F3EC7F #86F37F
monochromatic
#6F15E2 #9047EE #B27FF3 #D4B7F8 #EEE3FC

Accessibility & contrast

On white

2.91
#B27FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B27FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27FF3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FF3#FFFFFF#000000##000000
##B27FF31.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F7
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#A694AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27ff3;
/* rgb */ color: rgb(178, 127, 243);
/* oklch */ color: oklch(69.5% 0.170 302.5);
Tailwind
colors: {
  custom: {
    50: '#cca5f7',
    500: '#b27ff3',
    950: '#000000',
  },
}
SCSS
$custom: #b27ff3;
$custom-light: #cca5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ff3",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 266.379,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.17024,
    "h": 302.5
  },
  "luminance": 0.31115
}

Semantic roles & 50–950 ramp

primary
#B27FF3
secondary
#E7F4D7
accent
#DF0680
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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