#B27DF7#B27DF7

#B27DF7 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.178 H 302.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B27DF7
RGBrgb(178, 125, 247)
HSLhsl(266, 88%, 73%)
HSVhsv(266, 49%, 97%)
CMYKcmyk(27.9%, 49.4%, 0%, 3.1%)
CIE-LABlab(62.38, 44.44, -53.73)
CIE-LCHlch(62.38, 69.73, 309.59°)
OKLaboklab(69.4% 0.0945 -0.1511)
OKLCHoklch(69.4% 0.178 302)
XYZxyz(42.4784, 30.8475, 91.6939)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27DF7 #C2F77D
analogous
#7D85F7 #B27DF7 #EF7DF7
triadic
#B27DF7 #F7B27D #7DF7B2
tetradic
#B27DF7 #F77D85 #C2F77D #7DF7EF
square
#B27DF7 #F77D85 #C2F77D #7DF7EF
split-complementary
#B27DF7 #F7EF7D #85F77D
monochromatic
#6E0EEB #9043F3 #B27DF7 #D4B7FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.17
#B27DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27DF7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27DF7#FFFFFF#000000##000000
##B27DF71.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6496F4
Tritanopia (blue-blind)
#A593AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27df7;
/* rgb */ color: rgb(178, 125, 247);
/* oklch */ color: oklch(69.4% 0.178 302.0);
Tailwind
colors: {
  custom: {
    50: '#cca4fa',
    500: '#b27df7',
    950: '#000000',
  },
}
SCSS
$custom: #b27df7;
$custom-light: #cca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b27df7",
  "rgb": {
    "r": 178,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 266.066,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69403,
    "c": 0.17818,
    "h": 302
  },
  "luminance": 0.30848
}

Semantic roles & 50–950 ramp

primary
#B27DF7
secondary
#E8F5D6
accent
#E50082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B27DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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