#B271E0#B271E0

#B271E0 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.170 H 309.5°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B271E0
RGBrgb(178, 113, 224)
HSLhsl(275, 64%, 66%)
HSVhsv(275, 50%, 88%)
CMYKcmyk(20.5%, 49.6%, 0%, 12.2%)
CIE-LABlab(58.66, 45.63, -46.86)
CIE-LCHlch(58.66, 65.41, 314.24°)
OKLaboklab(66.25% 0.1081 -0.131)
OKLCHoklch(66.25% 0.17 309.5)
XYZxyz(37.7172, 26.6576, 73.6651)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B271E0 #9FE071
analogous
#7A71E0 #B271E0 #E071D6
triadic
#B271E0 #E0B271 #71E0B2
tetradic
#B271E0 #E07A71 #9FE071 #71D6E0
square
#B271E0 #E07A71 #9FE071 #71D6E0
split-complementary
#B271E0 #D6E071 #71E07A
monochromatic
#7726B0 #973FD5 #B271E0 #CDA3EB #E8D5F6

Accessibility & contrast

On white

3.32
#B271E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B271E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B271E0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B271E0#FFFFFF#000000##000000
##B271E01.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE4
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#AC839E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b271e0;
/* rgb */ color: rgb(178, 113, 224);
/* oklch */ color: oklch(66.3% 0.170 309.5);
Tailwind
colors: {
  custom: {
    50: '#cb9bea',
    500: '#b271e0',
    950: '#000000',
  },
}
SCSS
$custom: #b271e0;
$custom-light: #cb9bea;
$custom-dark: #000000;
JSON
{
  "hex": "#b271e0",
  "rgb": {
    "r": 178,
    "g": 113,
    "b": 224
  },
  "hsl": {
    "h": 275.135,
    "s": 64.162,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.16985,
    "h": 309.5
  },
  "luminance": 0.26657
}

Semantic roles & 50–950 ramp

primary
#B271E0
secondary
#D3E9C4
accent
#CC1A63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B271E0

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

Preview Lab → · Contrast checker → · Palette generator →

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