#B272FD#B272FD

#B272FD is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.1% C 0.202 H 302.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B272FD
RGBrgb(178, 114, 253)
HSLhsl(268, 97%, 72%)
HSVhsv(268, 55%, 99%)
CMYKcmyk(29.6%, 54.9%, 0%, 0.8%)
CIE-LABlab(60.42, 51.76, -60.16)
CIE-LCHlch(60.42, 79.36, 310.70°)
OKLaboklab(68.06% 0.1088 -0.1699)
OKLCHoklch(68.06% 0.202 302.6)
XYZxyz(42.1030, 28.5914, 96.2101)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272FD #BDFD72
analogous
#7278FD #B272FD #F872FD
triadic
#B272FD #FDB272 #72FDB2
tetradic
#B272FD #FD7278 #BDFD72 #72FDF8
square
#B272FD #FD7278 #BDFD72 #72FDF8
split-complementary
#B272FD #FDF872 #78FD72
monochromatic
#7103F1 #9136FC #B272FD #D3AEFE #EFE1FF

Accessibility & contrast

On white

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

On black

6.72
#B272FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272FD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272FD#FFFFFF#000000##000000
##B272FD1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#A48DAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b272fd;
/* rgb */ color: rgb(178, 114, 253);
/* oklch */ color: oklch(68.1% 0.202 302.6);
Tailwind
colors: {
  custom: {
    50: '#cd9dff',
    500: '#b272fd',
    950: '#000000',
  },
}
SCSS
$custom: #b272fd;
$custom-light: #cd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b272fd",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 267.626,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68059,
    "c": 0.2017,
    "h": 302.6
  },
  "luminance": 0.28591
}

Semantic roles & 50–950 ramp

primary
#B272FD
secondary
#E7F7D4
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B272FD

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

Preview Lab → · Contrast checker → · Palette generator →

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