#B273F5#B273F5

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

Color values

HEX#B273F5
RGBrgb(178, 115, 245)
HSLhsl(269, 87%, 71%)
HSVhsv(269, 53%, 96%)
CMYKcmyk(27.3%, 53.1%, 0%, 3.9%)
CIE-LABlab(60.18, 49.35, -56.13)
CIE-LCHlch(60.18, 74.74, 311.32°)
OKLaboklab(67.74% 0.1072 -0.1581)
OKLCHoklch(67.74% 0.191 304.1)
XYZxyz(40.9687, 28.3192, 89.6763)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273F5 #B6F573
analogous
#7375F5 #B273F5 #F373F5
triadic
#B273F5 #F5B273 #73F5B2
tetradic
#B273F5 #F57375 #B6F573 #73F5F3
square
#B273F5 #F57375 #B6F573 #73F5F3
split-complementary
#B273F5 #F5F373 #75F573
monochromatic
#7410DE #933AF1 #B273F5 #D1ACF9 #EFE2FD

Accessibility & contrast

On white

3.15
#B273F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B273F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273F5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273F5#FFFFFF#000000##000000
##B273F51.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#468FF9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#A68BA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b273f5;
/* rgb */ color: rgb(178, 115, 245);
/* oklch */ color: oklch(67.7% 0.191 304.1);
Tailwind
colors: {
  custom: {
    50: '#cc9df9',
    500: '#b273f5',
    950: '#000000',
  },
}
SCSS
$custom: #b273f5;
$custom-light: #cc9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#b273f5",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 269.077,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67736,
    "c": 0.19099,
    "h": 304.1
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#B273F5
secondary
#E2F4D0
accent
#E30276
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273F5

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

Preview Lab → · Contrast checker → · Palette generator →

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