#B273FE#B273FE

#B273FE is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.3% C 0.201 H 302.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B273FE
RGBrgb(178, 115, 254)
HSLhsl(267, 99%, 72%)
HSVhsv(267, 55%, 100%)
CMYKcmyk(29.9%, 54.7%, 0%, 0.4%)
CIE-LABlab(60.68, 51.46, -60.30)
CIE-LCHlch(60.68, 79.28, 310.48°)
OKLaboklab(68.27% 0.1076 -0.1703)
OKLCHoklch(68.27% 0.201 302.3)
XYZxyz(42.3761, 28.8822, 97.0890)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273FE #BFFE73
analogous
#737AFE #B273FE #F773FE
triadic
#B273FE #FEB273 #73FEB2
tetradic
#B273FE #FE737A #BFFE73 #73FEF7
square
#B273FE #FE737A #BFFE73 #73FEF7
split-complementary
#B273FE #FEF773 #7AFE73
monochromatic
#7002F5 #9136FE #B273FE #D3B0FE #EEE1FF

Accessibility & contrast

On white

3.10
#B273FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B273FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273FE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273FE#FFFFFF#000000##000000
##B273FE1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#A38EAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b273fe;
/* rgb */ color: rgb(178, 115, 254);
/* oklch */ color: oklch(68.3% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#cd9dff',
    500: '#b273fe',
    950: '#000000',
  },
}
SCSS
$custom: #b273fe;
$custom-light: #cd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b273fe",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 267.194,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68267,
    "c": 0.20139,
    "h": 302.3
  },
  "luminance": 0.28882
}

Semantic roles & 50–950 ramp

primary
#B273FE
secondary
#E7F7D4
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B273FE

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

Preview Lab → · Contrast checker → · Palette generator →

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