#B27CFD#B27CFD

#B27CFD is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.187 H 301.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B27CFD
RGBrgb(178, 124, 253)
HSLhsl(265, 97%, 74%)
HSVhsv(265, 51%, 99%)
CMYKcmyk(29.6%, 51%, 0%, 0.8%)
CIE-LABlab(62.48, 46.41, -56.86)
CIE-LCHlch(62.48, 73.40, 309.22°)
OKLaboklab(69.58% 0.0963 -0.1602)
OKLCHoklch(69.58% 0.187 301)
XYZxyz(43.2933, 30.9720, 96.6068)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27CFD #C7FD7C
analogous
#7C87FD #B27CFD #F27CFD
triadic
#B27CFD #FDB27C #7CFDB2
tetradic
#B27CFD #FD7C87 #C7FD7C #7CFDF2
square
#B27CFD #FD7C87 #C7FD7C #7CFDF2
split-complementary
#B27CFD #FDF27C #87FD7C
monochromatic
#6B04FB #8F40FC #B27CFD #D5B8FE #EDE1FF

Accessibility & contrast

On white

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

On black

7.19
#B27CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B27CFD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27CFD#FFFFFF#000000##000000
##B27CFD1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#A394B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b27cfd;
/* rgb */ color: rgb(178, 124, 253);
/* oklch */ color: oklch(69.6% 0.187 301.0);
Tailwind
colors: {
  custom: {
    50: '#cca3ff',
    500: '#b27cfd',
    950: '#000000',
  },
}
SCSS
$custom: #b27cfd;
$custom-light: #cca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b27cfd",
  "rgb": {
    "r": 178,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 265.116,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.18692,
    "h": 301
  },
  "luminance": 0.30972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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