#B273F3#B273F3

#B273F3 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.189 H 304.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B273F3
RGBrgb(178, 115, 243)
HSLhsl(270, 84%, 70%)
HSVhsv(270, 53%, 95%)
CMYKcmyk(26.7%, 52.7%, 0%, 4.7%)
CIE-LABlab(60.07, 48.88, -55.20)
CIE-LCHlch(60.07, 73.73, 311.53°)
OKLaboklab(67.62% 0.1071 -0.1553)
OKLCHoklch(67.62% 0.189 304.6)
XYZxyz(40.6650, 28.1977, 88.0770)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273F3 #B4F373
analogous
#7374F3 #B273F3 #F273F3
triadic
#B273F3 #F3B273 #73F3B2
tetradic
#B273F3 #F37374 #B4F373 #73F3F2
square
#B273F3 #F37374 #B4F373 #73F3F2
split-complementary
#B273F3 #F3F273 #74F373
monochromatic
#7413D9 #933BEE #B273F3 #D1ABF8 #EFE3FD

Accessibility & contrast

On white

3.16
#B273F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B273F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273F3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273F3#FFFFFF#000000##000000
##B273F31.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF7
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#A78BA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b273f3;
/* rgb */ color: rgb(178, 115, 243);
/* oklch */ color: oklch(67.6% 0.189 304.6);
Tailwind
colors: {
  custom: {
    50: '#cc9df8',
    500: '#b273f3',
    950: '#000000',
  },
}
SCSS
$custom: #b273f3;
$custom-light: #cc9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#b273f3",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 269.531,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.18867,
    "h": 304.6
  },
  "luminance": 0.28198
}

Semantic roles & 50–950 ramp

primary
#B273F3
secondary
#E1F3CF
accent
#E10574
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273F3

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

Preview Lab → · Contrast checker → · Palette generator →

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