#B272FC#B272FC

#B272FC is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.0% C 0.201 H 302.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B272FC
RGBrgb(178, 114, 252)
HSLhsl(268, 96%, 72%)
HSVhsv(268, 55%, 99%)
CMYKcmyk(29.4%, 54.8%, 0%, 1.2%)
CIE-LABlab(60.36, 51.52, -59.70)
CIE-LCHlch(60.36, 78.86, 310.79°)
OKLaboklab(68% 0.1087 -0.1685)
OKLCHoklch(68% 0.201 302.8)
XYZxyz(41.9441, 28.5279, 95.3733)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272FC #BCFC72
analogous
#7277FC #B272FC #F772FC
triadic
#B272FC #FCB272 #72FCB2
tetradic
#B272FC #FC7277 #BCFC72 #72FCF7
square
#B272FC #FC7277 #BCFC72 #72FCF7
split-complementary
#B272FC #FCF772 #77FC72
monochromatic
#7105EF #9136FB #B272FC #D3AEFD #EFE1FE

Accessibility & contrast

On white

3.13
#B272FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B272FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272FC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272FC#FFFFFF#000000##000000
##B272FC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#A48DAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b272fc;
/* rgb */ color: rgb(178, 114, 252);
/* oklch */ color: oklch(68.0% 0.201 302.8);
Tailwind
colors: {
  custom: {
    50: '#cd9dfe',
    500: '#b272fc',
    950: '#000000',
  },
}
SCSS
$custom: #b272fc;
$custom-light: #cd9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b272fc",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 267.826,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67999,
    "c": 0.20054,
    "h": 302.8
  },
  "luminance": 0.28528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B272FC

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

Preview Lab → · Contrast checker → · Palette generator →

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