#B272F8#B272F8

#B272F8 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.196 H 303.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B272F8
RGBrgb(178, 114, 248)
HSLhsl(269, 91%, 71%)
HSVhsv(269, 54%, 97%)
CMYKcmyk(28.2%, 54%, 0%, 2.7%)
CIE-LABlab(60.14, 50.58, -57.85)
CIE-LCHlch(60.14, 76.85, 311.16°)
OKLaboklab(67.76% 0.1086 -0.1631)
OKLCHoklch(67.76% 0.196 303.7)
XYZxyz(41.3169, 28.2770, 92.0701)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272F8 #B8F872
analogous
#7275F8 #B272F8 #F572F8
triadic
#B272F8 #F8B272 #72F8B2
tetradic
#B272F8 #F87275 #B8F872 #72F8F5
square
#B272F8 #F87275 #B8F872 #72F8F5
split-complementary
#B272F8 #F8F572 #75F872
monochromatic
#730BE4 #9238F5 #B272F8 #D2ACFB #EFE2FE

Accessibility & contrast

On white

3.16
#B272F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B272F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272F8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272F8#FFFFFF#000000##000000
##B272F81.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#A58CAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b272f8;
/* rgb */ color: rgb(178, 114, 248);
/* oklch */ color: oklch(67.8% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#cc9cfb',
    500: '#b272f8',
    950: '#000000',
  },
}
SCSS
$custom: #b272f8;
$custom-light: #cc9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b272f8",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 268.657,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.19594,
    "h": 303.7
  },
  "luminance": 0.28277
}

Semantic roles & 50–950 ramp

primary
#B272F8
secondary
#E4F5D1
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B272F8

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

Preview Lab → · Contrast checker → · Palette generator →

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