#B273FF#B273FF

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

Color values

HEX#B273FF
RGBrgb(178, 115, 255)
HSLhsl(267, 100%, 73%)
HSVhsv(267, 55%, 100%)
CMYKcmyk(30.2%, 54.9%, 0%, 0%)
CIE-LABlab(60.73, 51.70, -60.76)
CIE-LCHlch(60.73, 79.78, 310.40°)
OKLaboklab(68.33% 0.1076 -0.1716)
OKLCHoklch(68.33% 0.203 302.1)
XYZxyz(42.5367, 28.9464, 97.9346)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273FF #C0FF73
analogous
#737AFF #B273FF #F873FF
triadic
#B273FF #FFB273 #73FFB2
tetradic
#B273FF #FF737A #C0FF73 #73FFF8
square
#B273FF #FF737A #C0FF73 #73FFF8
split-complementary
#B273FF #FFF873 #7AFF73
monochromatic
#6F00F8 #9036FF #B273FF #D4B0FF #EEE0FF

Accessibility & contrast

On white

3.09
#B273FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B273FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273FF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273FF#FFFFFF#000000##000000
##B273FF1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#A38EAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b273ff;
/* rgb */ color: rgb(178, 115, 255);
/* oklch */ color: oklch(68.3% 0.203 302.1);
Tailwind
colors: {
  custom: {
    50: '#cd9dff',
    500: '#b273ff',
    950: '#000000',
  },
}
SCSS
$custom: #b273ff;
$custom-light: #cd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b273ff",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 267,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68327,
    "c": 0.20255,
    "h": 302.1
  },
  "luminance": 0.28946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B273FF

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

Preview Lab → · Contrast checker → · Palette generator →

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