#B273FA#B273FA

#B273FA is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.197 H 303.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B273FA
RGBrgb(178, 115, 250)
HSLhsl(268, 93%, 72%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.8%, 54%, 0%, 2%)
CIE-LABlab(60.45, 50.52, -58.45)
CIE-LCHlch(60.45, 77.26, 310.84°)
OKLaboklab(68.03% 0.1074 -0.1649)
OKLCHoklch(68.03% 0.197 303.1)
XYZxyz(41.7423, 28.6286, 93.7507)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273FA #BBFA73
analogous
#7378FA #B273FA #F573FA
triadic
#B273FA #FAB273 #73FAB2
tetradic
#B273FA #FA7378 #BBFA73 #73FAF5
square
#B273FA #FA7378 #BBFA73 #73FAF5
split-complementary
#B273FA #FAF573 #78FA73
monochromatic
#7208EA #9238F8 #B273FA #D3AEFC #EFE1FE

Accessibility & contrast

On white

3.12
#B273FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B273FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273FA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273FA#FFFFFF#000000##000000
##B273FA1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FF
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#A58DAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b273fa;
/* rgb */ color: rgb(178, 115, 250);
/* oklch */ color: oklch(68.0% 0.197 303.1);
Tailwind
colors: {
  custom: {
    50: '#cc9dfd',
    500: '#b273fa',
    950: '#000000',
  },
}
SCSS
$custom: #b273fa;
$custom-light: #cc9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b273fa",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 268,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.19677,
    "h": 303.1
  },
  "luminance": 0.28629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B273FA

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

Preview Lab → · Contrast checker → · Palette generator →

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