#B273F4#B273F4

#B273F4 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.190 H 304.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B273F4
RGBrgb(178, 115, 244)
HSLhsl(269, 85%, 70%)
HSVhsv(269, 53%, 96%)
CMYKcmyk(27%, 52.9%, 0%, 4.3%)
CIE-LABlab(60.12, 49.12, -55.67)
CIE-LCHlch(60.12, 74.24, 311.42°)
OKLaboklab(67.68% 0.1071 -0.1567)
OKLCHoklch(67.68% 0.19 304.4)
XYZxyz(40.8164, 28.2583, 88.8745)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273F4 #B5F473
analogous
#7375F4 #B273F4 #F273F4
triadic
#B273F4 #F4B273 #73F4B2
tetradic
#B273F4 #F47375 #B5F473 #73F4F2
square
#B273F4 #F47375 #B5F473 #73F4F2
split-complementary
#B273F4 #F4F273 #75F473
monochromatic
#7411DB #933AF0 #B273F4 #D1ACF8 #EFE3FD

Accessibility & contrast

On white

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

On black

6.65
#B273F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273F4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273F4#FFFFFF#000000##000000
##B273F41.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478FF8
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#A78BA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b273f4;
/* rgb */ color: rgb(178, 115, 244);
/* oklch */ color: oklch(67.7% 0.190 304.4);
Tailwind
colors: {
  custom: {
    50: '#cc9df8',
    500: '#b273f4',
    950: '#000000',
  },
}
SCSS
$custom: #b273f4;
$custom-light: #cc9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#b273f4",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 244
  },
  "hsl": {
    "h": 269.302,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67678,
    "c": 0.18982,
    "h": 304.4
  },
  "luminance": 0.28258
}

Semantic roles & 50–950 ramp

primary
#B273F4
secondary
#E2F3D0
accent
#E20475
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273F4

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

Preview Lab → · Contrast checker → · Palette generator →

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