#B272F6#B272F6

#B272F6 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.194 H 304.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B272F6
RGBrgb(178, 114, 246)
HSLhsl(269, 88%, 71%)
HSVhsv(269, 54%, 96%)
CMYKcmyk(27.6%, 53.7%, 0%, 3.5%)
CIE-LABlab(60.03, 50.11, -56.92)
CIE-LCHlch(60.03, 75.84, 311.36°)
OKLaboklab(67.64% 0.1085 -0.1604)
OKLCHoklch(67.64% 0.194 304.1)
XYZxyz(41.0083, 28.1536, 90.4447)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272F6 #B6F672
analogous
#7274F6 #B272F6 #F472F6
triadic
#B272F6 #F6B272 #72F6B2
tetradic
#B272F6 #F67274 #B6F672 #72F6F4
square
#B272F6 #F67274 #B6F672 #72F6F4
split-complementary
#B272F6 #F6F472 #74F672
monochromatic
#740EDF #9338F2 #B272F6 #D1ACFA #EFE2FD

Accessibility & contrast

On white

3.17
#B272F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B272F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272F6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272F6#FFFFFF#000000##000000
##B272F61.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#A68BA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b272f6;
/* rgb */ color: rgb(178, 114, 246);
/* oklch */ color: oklch(67.6% 0.194 304.1);
Tailwind
colors: {
  custom: {
    50: '#cc9cfa',
    500: '#b272f6',
    950: '#000000',
  },
}
SCSS
$custom: #b272f6;
$custom-light: #cc9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b272f6",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 269.091,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67644,
    "c": 0.19363,
    "h": 304.1
  },
  "luminance": 0.28153
}

Semantic roles & 50–950 ramp

primary
#B272F6
secondary
#E2F4D0
accent
#E50176
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B272F6

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

Preview Lab → · Contrast checker → · Palette generator →

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