#B27DE2#B27DE2

#B27DE2 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.153 H 307.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B27DE2
RGBrgb(178, 125, 226)
HSLhsl(271, 64%, 69%)
HSVhsv(271, 45%, 89%)
CMYKcmyk(21.2%, 44.7%, 0%, 11.4%)
CIE-LABlab(61.33, 39.56, -43.76)
CIE-LCHlch(61.33, 58.99, 312.11°)
OKLaboklab(68.28% 0.092 -0.122)
OKLCHoklch(68.28% 0.153 307)
XYZxyz(39.4184, 29.6236, 75.5781)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27DE2 #ADE27D
analogous
#807DE2 #B27DE2 #E27DE0
triadic
#B27DE2 #E2B27D #7DE2B2
tetradic
#B27DE2 #E2807D #ADE27D #7DE0E2
square
#B27DE2 #E2807D #ADE27D #7DE0E2
split-complementary
#B27DE2 #E0E27D #7DE280
monochromatic
#762ABB #944BD7 #B27DE2 #D0AFED #EDE1F8

Accessibility & contrast

On white

3.03
#B27DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B27DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27DE2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27DE2#FFFFFF#000000##000000
##B27DE21.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7195DF
Tritanopia (blue-blind)
#AB8DA5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b27de2;
/* rgb */ color: rgb(178, 125, 226);
/* oklch */ color: oklch(68.3% 0.153 307.0);
Tailwind
colors: {
  custom: {
    50: '#cba4eb',
    500: '#b27de2',
    950: '#000000',
  },
}
SCSS
$custom: #b27de2;
$custom-light: #cba4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b27de2",
  "rgb": {
    "r": 178,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 271.485,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.15279,
    "h": 307
  },
  "luminance": 0.29623
}

Semantic roles & 50–950 ramp

primary
#B27DE2
secondary
#DDECCE
accent
#CB1A6E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B27DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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