#B273F9#B273F9

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

Color values

HEX#B273F9
RGBrgb(178, 115, 249)
HSLhsl(268, 92%, 71%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.5%, 53.8%, 0%, 2.4%)
CIE-LABlab(60.40, 50.29, -57.99)
CIE-LCHlch(60.40, 76.76, 310.93°)
OKLaboklab(67.97% 0.1074 -0.1635)
OKLCHoklch(67.97% 0.196 303.3)
XYZxyz(41.5859, 28.5661, 92.9271)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273F9 #BAF973
analogous
#7377F9 #B273F9 #F573F9
triadic
#B273F9 #F9B273 #73F9B2
tetradic
#B273F9 #F97377 #BAF973 #73F9F5
square
#B273F9 #F97377 #BAF973 #73F9F5
split-complementary
#B273F9 #F9F573 #77F973
monochromatic
#720AE8 #9238F6 #B273F9 #D2AEFC #EFE2FE

Accessibility & contrast

On white

3.13
#B273F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B273F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273F9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273F9#FFFFFF#000000##000000
##B273F91.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FD
Deuteranopia (green-blind)
#5791F6
Tritanopia (blue-blind)
#A58DAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b273f9;
/* rgb */ color: rgb(178, 115, 249);
/* oklch */ color: oklch(68.0% 0.196 303.3);
Tailwind
colors: {
  custom: {
    50: '#cc9dfc',
    500: '#b273f9',
    950: '#000000',
  },
}
SCSS
$custom: #b273f9;
$custom-light: #cc9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b273f9",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 268.209,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6797,
    "c": 0.19562,
    "h": 303.3
  },
  "luminance": 0.28566
}

Semantic roles & 50–950 ramp

primary
#B273F9
secondary
#E5F5D2
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273F9

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

Preview Lab → · Contrast checker → · Palette generator →

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