#B27CFC#B27CFC

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

Color values

HEX#B27CFC
RGBrgb(178, 124, 252)
HSLhsl(265, 96%, 74%)
HSVhsv(265, 51%, 99%)
CMYKcmyk(29.4%, 50.8%, 0%, 1.2%)
CIE-LABlab(62.43, 46.17, -56.40)
CIE-LCHlch(62.43, 72.89, 309.31°)
OKLaboklab(69.53% 0.0962 -0.1589)
OKLCHoklch(69.53% 0.186 301.2)
XYZxyz(43.1344, 30.9084, 95.7700)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27CFC #C6FC7C
analogous
#7C86FC #B27CFC #F27CFC
triadic
#B27CFC #FCB27C #7CFCB2
tetradic
#B27CFC #FC7C86 #C6FC7C #7CFCF2
square
#B27CFC #FC7C86 #C6FC7C #7CFCF2
split-complementary
#B27CFC #FCF27C #86FC7C
monochromatic
#6C06F8 #8F40FB #B27CFC #D5B8FD #EDE1FE

Accessibility & contrast

On white

2.92
#B27CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B27CFC#FFFFFF#000000##000000
##B27CFC1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#A494B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27cfc;
/* rgb */ color: rgb(178, 124, 252);
/* oklch */ color: oklch(69.5% 0.186 301.2);
Tailwind
colors: {
  custom: {
    50: '#cca3fe',
    500: '#b27cfc',
    950: '#000000',
  },
}
SCSS
$custom: #b27cfc;
$custom-light: #cca3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b27cfc",
  "rgb": {
    "r": 178,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 265.313,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.18572,
    "h": 301.2
  },
  "luminance": 0.30909
}

Semantic roles & 50–950 ramp

primary
#B27CFC
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B27CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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