#B27BD2#B27BD2

#B27BD2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.1% C 0.137 H 312.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B27BD2
RGBrgb(178, 123, 210)
HSLhsl(278, 49%, 65%)
HSVhsv(278, 41%, 82%)
CMYKcmyk(15.2%, 41.4%, 0%, 17.6%)
CIE-LABlab(60.15, 37.11, -36.66)
CIE-LCHlch(60.15, 52.16, 315.36°)
OKLaboklab(67.15% 0.0921 -0.1015)
OKLCHoklch(67.15% 0.137 312.2)
XYZxyz(37.0739, 28.2847, 64.4667)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BD2 #9BD27B
analogous
#867BD2 #B27BD2 #D27BC7
triadic
#B27BD2 #D2B27B #7BD2B2
tetradic
#B27BD2 #D2867B #9BD27B #7BC7D2
square
#B27BD2 #D2867B #9BD27B #7BC7D2
split-complementary
#B27BD2 #C7D27B #7BD286
monochromatic
#77369D #974DC2 #B27BD2 #CDA9E2 #E7D6F1

Accessibility & contrast

On white

3.15
#B27BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B27BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27BD2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BD2#FFFFFF#000000##000000
##B27BD21.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ED5
Deuteranopia (green-blind)
#7892D0
Tritanopia (blue-blind)
#AF889D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b27bd2;
/* rgb */ color: rgb(178, 123, 210);
/* oklch */ color: oklch(67.1% 0.137 312.2);
Tailwind
colors: {
  custom: {
    50: '#caa2e0',
    500: '#b27bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b27bd2;
$custom-light: #caa2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bd2",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 277.931,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.13703,
    "h": 312.2
  },
  "luminance": 0.28284
}

Semantic roles & 50–950 ramp

primary
#B27BD2
secondary
#D1E3C6
accent
#BC295F
background
#FCFAFD
surface
#F9F3FB
border
#D2CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B27BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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