#B27BF7#B27BF7

#B27BF7 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.181 H 302.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B27BF7
RGBrgb(178, 123, 247)
HSLhsl(267, 89%, 73%)
HSVhsv(267, 50%, 97%)
CMYKcmyk(27.9%, 50.2%, 0%, 3.1%)
CIE-LABlab(61.95, 45.53, -54.41)
CIE-LCHlch(61.95, 70.94, 309.92°)
OKLaboklab(69.09% 0.0971 -0.153)
OKLCHoklch(69.09% 0.181 302.4)
XYZxyz(42.2278, 30.3463, 91.6104)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BF7 #C0F77B
analogous
#7B82F7 #B27BF7 #F07BF7
triadic
#B27BF7 #F7B27B #7BF7B2
tetradic
#B27BF7 #F77B82 #C0F77B #7BF7F0
square
#B27BF7 #F77B82 #C0F77B #7BF7F0
split-complementary
#B27BF7 #F7F07B #82F77B
monochromatic
#6F0EE9 #9041F4 #B27BF7 #D4B5FA #EEE2FD

Accessibility & contrast

On white

2.97
#B27BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B27BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27BF7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BF7#FFFFFF#000000##000000
##B27BF71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#6295F4
Tritanopia (blue-blind)
#A592AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b27bf7;
/* rgb */ color: rgb(178, 123, 247);
/* oklch */ color: oklch(69.1% 0.181 302.4);
Tailwind
colors: {
  custom: {
    50: '#cca2fa',
    500: '#b27bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b27bf7;
$custom-light: #cca2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bf7",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 266.613,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69086,
    "c": 0.18123,
    "h": 302.4
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#B27BF7
secondary
#E7F5D6
accent
#E50080
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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