#B272FA#B272FA

#B272FA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.198 H 303.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B272FA
RGBrgb(178, 114, 250)
HSLhsl(268, 93%, 71%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.8%, 54.4%, 0%, 2%)
CIE-LABlab(60.25, 51.05, -58.78)
CIE-LCHlch(60.25, 77.85, 310.97°)
OKLaboklab(67.88% 0.1087 -0.1658)
OKLCHoklch(67.88% 0.198 303.2)
XYZxyz(41.6289, 28.4018, 93.7129)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272FA #BAFA72
analogous
#7276FA #B272FA #F672FA
triadic
#B272FA #FAB272 #72FAB2
tetradic
#B272FA #FA7276 #BAFA72 #72FAF6
square
#B272FA #FA7276 #BAFA72 #72FAF6
split-complementary
#B272FA #FAF672 #76FA72
monochromatic
#7208E9 #9237F8 #B272FA #D2ADFC #EFE1FE

Accessibility & contrast

On white

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

On black

6.68
#B272FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272FA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272FA#FFFFFF#000000##000000
##B272FA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#A58CAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b272fa;
/* rgb */ color: rgb(178, 114, 250);
/* oklch */ color: oklch(67.9% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#cc9dfd',
    500: '#b272fa',
    950: '#000000',
  },
}
SCSS
$custom: #b272fa;
$custom-light: #cc9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b272fa",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 268.235,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6788,
    "c": 0.19825,
    "h": 303.2
  },
  "luminance": 0.28402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B272FA

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

Preview Lab → · Contrast checker → · Palette generator →

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