#B272DD#B272DD

#B272DD is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.165 H 310.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B272DD
RGBrgb(178, 114, 221)
HSLhsl(276, 61%, 66%)
HSVhsv(276, 48%, 87%)
CMYKcmyk(19.5%, 48.4%, 0%, 13.3%)
CIE-LABlab(58.71, 44.43, -45.08)
CIE-LCHlch(58.71, 63.30, 314.58°)
OKLaboklab(66.25% 0.1064 -0.1258)
OKLCHoklch(66.25% 0.165 310.2)
XYZxyz(37.4261, 26.7207, 71.5786)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272DD #9DDD72
analogous
#7C72DD #B272DD #DD72D2
triadic
#B272DD #DDB272 #72DDB2
tetradic
#B272DD #DD7C72 #9DDD72 #72D2DD
square
#B272DD #DD7C72 #9DDD72 #72D2DD
split-complementary
#B272DD #D2DD72 #72DD7C
monochromatic
#7729AB #9741D1 #B272DD #CDA3E9 #E8D5F5

Accessibility & contrast

On white

3.31
#B272DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B272DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272DD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272DD#FFFFFF#000000##000000
##B272DD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE1
Deuteranopia (green-blind)
#6A8EDA
Tritanopia (blue-blind)
#AD839D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b272dd;
/* rgb */ color: rgb(178, 114, 221);
/* oklch */ color: oklch(66.2% 0.165 310.2);
Tailwind
colors: {
  custom: {
    50: '#cb9ce8',
    500: '#b272dd',
    950: '#000000',
  },
}
SCSS
$custom: #b272dd;
$custom-light: #cb9ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#b272dd",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 275.888,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66246,
    "c": 0.1648,
    "h": 310.2
  },
  "luminance": 0.2672
}

Semantic roles & 50–950 ramp

primary
#B272DD
secondary
#D2E7C4
accent
#C91D62
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B272DD

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

Preview Lab → · Contrast checker → · Palette generator →

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