#B272F9#B272F9

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

Color values

HEX#B272F9
RGBrgb(178, 114, 249)
HSLhsl(268, 92%, 71%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.5%, 54.2%, 0%, 2.4%)
CIE-LABlab(60.19, 50.81, -58.32)
CIE-LCHlch(60.19, 77.35, 311.07°)
OKLaboklab(67.82% 0.1086 -0.1645)
OKLCHoklch(67.82% 0.197 303.4)
XYZxyz(41.4725, 28.3392, 92.8893)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B272F9 #B9F972
analogous
#7275F9 #B272F9 #F572F9
triadic
#B272F9 #F9B272 #72F9B2
tetradic
#B272F9 #F97275 #B9F972 #72F9F5
square
#B272F9 #F97275 #B9F972 #72F9F5
split-complementary
#B272F9 #F9F572 #75F972
monochromatic
#730AE7 #9237F7 #B272F9 #D2ADFB #EFE2FE

Accessibility & contrast

On white

3.15
#B272F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B272F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B272F9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B272F9#FFFFFF#000000##000000
##B272F91.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#A58CAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b272f9;
/* rgb */ color: rgb(178, 114, 249);
/* oklch */ color: oklch(67.8% 0.197 303.4);
Tailwind
colors: {
  custom: {
    50: '#cc9dfc',
    500: '#b272f9',
    950: '#000000',
  },
}
SCSS
$custom: #b272f9;
$custom-light: #cc9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b272f9",
  "rgb": {
    "r": 178,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 268.444,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.19709,
    "h": 303.4
  },
  "luminance": 0.28339
}

Semantic roles & 50–950 ramp

primary
#B272F9
secondary
#E4F5D2
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B272F9

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

Preview Lab → · Contrast checker → · Palette generator →

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