#B27EF3#B27EF3

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

Color values

HEX#B27EF3
RGBrgb(178, 126, 243)
HSLhsl(267, 83%, 72%)
HSVhsv(267, 48%, 95%)
CMYKcmyk(26.7%, 48.1%, 0%, 4.7%)
CIE-LABlab(62.39, 42.95, -51.51)
CIE-LCHlch(62.39, 67.07, 309.82°)
OKLaboklab(69.34% 0.0928 -0.1446)
OKLCHoklch(69.34% 0.172 302.7)
XYZxyz(41.9950, 30.8578, 88.5204)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EF3 #BFF37E
analogous
#7E84F3 #B27EF3 #ED7EF3
triadic
#B27EF3 #F3B27E #7EF3B2
tetradic
#B27EF3 #F37E84 #BFF37E #7EF3ED
square
#B27EF3 #F37E84 #BFF37E #7EF3ED
split-complementary
#B27EF3 #F3ED7E #84F37E
monochromatic
#7015E2 #9146EE #B27EF3 #D3B6F8 #EEE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B27EF3#FFFFFF#000000##000000
##B27EF31.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)
#5B96F7
Deuteranopia (green-blind)
#6897F0
Tritanopia (blue-blind)
#A693AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27ef3;
/* rgb */ color: rgb(178, 126, 243);
/* oklch */ color: oklch(69.3% 0.172 302.7);
Tailwind
colors: {
  custom: {
    50: '#cca4f7',
    500: '#b27ef3',
    950: '#000000',
  },
}
SCSS
$custom: #b27ef3;
$custom-light: #cca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ef3",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 266.667,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.1718,
    "h": 302.7
  },
  "luminance": 0.30858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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