#B272FB#B272FB

#B272FB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.199 H 303.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B272FB
RGBrgb(178, 114, 251)
HSLhsl(268, 94%, 72%)
HSVhsv(268, 55%, 98%)
CMYKcmyk(29.1%, 54.6%, 0%, 1.6%)
CIE-LABlab(60.31, 51.28, -59.24)
CIE-LCHlch(60.31, 78.35, 310.88°)
OKLaboklab(67.94% 0.1087 -0.1672)
OKLCHoklch(67.94% 0.199 303)
XYZxyz(41.7861, 28.4647, 94.5409)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272FB #BBFB72
analogous
#7277FB #B272FB #F672FB
triadic
#B272FB #FBB272 #72FBB2
tetradic
#B272FB #FB7277 #BBFB72 #72FBF6
square
#B272FB #FB7277 #BBFB72 #72FBF6
split-complementary
#B272FB #FBF672 #77FB72
monochromatic
#7207EC #9236F9 #B272FB #D3AEFD #EFE1FE

Accessibility & contrast

On white

3.14
#B272FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B272FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272FB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272FB#FFFFFF#000000##000000
##B272FB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#A48CAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b272fb;
/* rgb */ color: rgb(178, 114, 251);
/* oklch */ color: oklch(67.9% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#cd9dfd',
    500: '#b272fb',
    950: '#000000',
  },
}
SCSS
$custom: #b272fb;
$custom-light: #cd9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b272fb",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 268.029,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.19939,
    "h": 303
  },
  "luminance": 0.28465
}

Semantic roles & 50–950 ramp

primary
#B272FB
secondary
#E6F6D3
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B272FB

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

Preview Lab → · Contrast checker → · Palette generator →

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