#B273F7#B273F7

#B273F7 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.193 H 303.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B273F7
RGBrgb(178, 115, 247)
HSLhsl(269, 89%, 71%)
HSVhsv(269, 53%, 97%)
CMYKcmyk(27.9%, 53.4%, 0%, 3.1%)
CIE-LABlab(60.29, 49.82, -57.06)
CIE-LCHlch(60.29, 75.75, 311.12°)
OKLaboklab(67.85% 0.1073 -0.1608)
OKLCHoklch(67.85% 0.193 303.7)
XYZxyz(41.2756, 28.4419, 91.2930)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273F7 #B8F773
analogous
#7376F7 #B273F7 #F473F7
triadic
#B273F7 #F7B273 #73F7B2
tetradic
#B273F7 #F77376 #B8F773 #73F7F4
square
#B273F7 #F77376 #B8F773 #73F7F4
split-complementary
#B273F7 #F7F473 #76F773
monochromatic
#730DE3 #9239F4 #B273F7 #D2ADFA #EFE2FD

Accessibility & contrast

On white

3.14
#B273F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B273F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273F7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273F7#FFFFFF#000000##000000
##B273F71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#A68CAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b273f7;
/* rgb */ color: rgb(178, 115, 247);
/* oklch */ color: oklch(67.9% 0.193 303.7);
Tailwind
colors: {
  custom: {
    50: '#cc9dfa',
    500: '#b273f7',
    950: '#000000',
  },
}
SCSS
$custom: #b273f7;
$custom-light: #cc9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b273f7",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 268.636,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67853,
    "c": 0.1933,
    "h": 303.7
  },
  "luminance": 0.28442
}

Semantic roles & 50–950 ramp

primary
#B273F7
secondary
#E4F4D1
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273F7

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

Preview Lab → · Contrast checker → · Palette generator →

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