#B272F7#B272F7

#B272F7 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.195 H 303.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B272F7
RGBrgb(178, 114, 247)
HSLhsl(269, 89%, 71%)
HSVhsv(269, 54%, 97%)
CMYKcmyk(27.9%, 53.8%, 0%, 3.1%)
CIE-LABlab(60.08, 50.35, -57.39)
CIE-LCHlch(60.08, 76.34, 311.26°)
OKLaboklab(67.7% 0.1086 -0.1617)
OKLCHoklch(67.7% 0.195 303.9)
XYZxyz(41.1622, 28.2151, 91.2552)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272F7 #B7F772
analogous
#7274F7 #B272F7 #F472F7
triadic
#B272F7 #F7B272 #72F7B2
tetradic
#B272F7 #F77274 #B7F772 #72F7F4
square
#B272F7 #F77274 #B7F772 #72F7F4
split-complementary
#B272F7 #F7F472 #74F772
monochromatic
#730DE2 #9238F4 #B272F7 #D2ACFA #EFE2FD

Accessibility & contrast

On white

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

On black

6.64
#B272F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272F7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272F7#FFFFFF#000000##000000
##B272F71.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#A68BAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b272f7;
/* rgb */ color: rgb(178, 114, 247);
/* oklch */ color: oklch(67.7% 0.195 303.9);
Tailwind
colors: {
  custom: {
    50: '#cc9cfa',
    500: '#b272f7',
    950: '#000000',
  },
}
SCSS
$custom: #b272f7;
$custom-light: #cc9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b272f7",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 268.872,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67703,
    "c": 0.19479,
    "h": 303.9
  },
  "luminance": 0.28215
}

Semantic roles & 50–950 ramp

primary
#B272F7
secondary
#E3F4D1
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B272F7

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

Preview Lab → · Contrast checker → · Palette generator →

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