#B273FC#B273FC

#B273FC is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.199 H 302.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B273FC
RGBrgb(178, 115, 252)
HSLhsl(268, 96%, 72%)
HSVhsv(268, 54%, 99%)
CMYKcmyk(29.4%, 54.4%, 0%, 1.2%)
CIE-LABlab(60.56, 50.99, -59.38)
CIE-LCHlch(60.56, 78.27, 310.66°)
OKLaboklab(68.15% 0.1075 -0.1676)
OKLCHoklch(68.15% 0.199 302.7)
XYZxyz(42.0575, 28.7547, 95.4111)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273FC #BDFC73
analogous
#7379FC #B273FC #F673FC
triadic
#B273FC #FCB273 #73FCB2
tetradic
#B273FC #FC7379 #BDFC73 #73FCF6
square
#B273FC #FC7379 #BDFC73 #73FCF6
split-complementary
#B273FC #FCF673 #79FC73
monochromatic
#7105EF #9137FB #B273FC #D3AFFD #EFE1FE

Accessibility & contrast

On white

3.11
#B273FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B273FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273FC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273FC#FFFFFF#000000##000000
##B273FC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#A48DAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b273fc;
/* rgb */ color: rgb(178, 115, 252);
/* oklch */ color: oklch(68.1% 0.199 302.7);
Tailwind
colors: {
  custom: {
    50: '#cd9dfe',
    500: '#b273fc',
    950: '#000000',
  },
}
SCSS
$custom: #b273fc;
$custom-light: #cd9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b273fc",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 267.591,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68148,
    "c": 0.19909,
    "h": 302.7
  },
  "luminance": 0.28755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B273FC

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

Preview Lab → · Contrast checker → · Palette generator →

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