#B272EA#B272EA

#B272EA is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.180 H 306.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B272EA
RGBrgb(178, 114, 234)
HSLhsl(272, 74%, 68%)
HSVhsv(272, 51%, 92%)
CMYKcmyk(23.9%, 51.3%, 0%, 8.2%)
CIE-LABlab(59.38, 47.35, -51.30)
CIE-LCHlch(59.38, 69.81, 312.71°)
OKLaboklab(66.96% 0.1077 -0.1439)
OKLCHoklch(66.96% 0.18 306.8)
XYZxyz(39.2257, 27.4405, 81.0561)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272EA #AAEA72
analogous
#7672EA #B272EA #EA72E6
triadic
#B272EA #EAB272 #72EAB2
tetradic
#B272EA #EA7672 #AAEA72 #72E6EA
square
#B272EA #EA7672 #AAEA72 #72E6EA
split-complementary
#B272EA #E6EA72 #72EA76
monochromatic
#761DC4 #953DE2 #B272EA #CFA7F2 #ECDDFA

Accessibility & contrast

On white

3.24
#B272EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B272EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272EA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272EA#FFFFFF#000000##000000
##B272EA1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#6190E7
Tritanopia (blue-blind)
#A987A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b272ea;
/* rgb */ color: rgb(178, 114, 234);
/* oklch */ color: oklch(67.0% 0.180 306.8);
Tailwind
colors: {
  custom: {
    50: '#cc9cf1',
    500: '#b272ea',
    950: '#000000',
  },
}
SCSS
$custom: #b272ea;
$custom-light: #cc9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b272ea",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 272,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66956,
    "c": 0.17977,
    "h": 306.8
  },
  "luminance": 0.2744
}

Semantic roles & 50–950 ramp

primary
#B272EA
secondary
#DBEECA
accent
#D60F6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B272EA

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

Preview Lab → · Contrast checker → · Palette generator →

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