#B272E6#B272E6

#B272E6 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.175 H 307.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B272E6
RGBrgb(178, 114, 230)
HSLhsl(273, 70%, 67%)
HSVhsv(273, 50%, 90%)
CMYKcmyk(22.6%, 50.4%, 0%, 9.8%)
CIE-LABlab(59.17, 46.44, -49.40)
CIE-LCHlch(59.17, 67.80, 313.23°)
OKLaboklab(66.73% 0.1074 -0.1384)
OKLCHoklch(66.73% 0.175 307.8)
XYZxyz(38.6575, 27.2132, 78.0638)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272E6 #A6E672
analogous
#7872E6 #B272E6 #E672E0
triadic
#B272E6 #E6B272 #72E6B2
tetradic
#B272E6 #E67872 #A6E672 #72E0E6
square
#B272E6 #E67872 #A6E672 #72E0E6
split-complementary
#B272E6 #E0E672 #72E678
monochromatic
#7721BC #963EDD #B272E6 #CEA6EF #EBDAF8

Accessibility & contrast

On white

3.26
#B272E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B272E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272E6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272E6#FFFFFF#000000##000000
##B272E61.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEA
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#AA86A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b272e6;
/* rgb */ color: rgb(178, 114, 230);
/* oklch */ color: oklch(66.7% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#cb9cee',
    500: '#b272e6',
    950: '#000000',
  },
}
SCSS
$custom: #b272e6;
$custom-light: #cb9cee;
$custom-dark: #000000;
JSON
{
  "hex": "#b272e6",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 273.103,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66734,
    "c": 0.17516,
    "h": 307.8
  },
  "luminance": 0.27213
}

Semantic roles & 50–950 ramp

primary
#B272E6
secondary
#D8ECC8
accent
#D21469
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B272E6

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

Preview Lab → · Contrast checker → · Palette generator →

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