#B273F8#B273F8

#B273F8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.194 H 303.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B273F8
RGBrgb(178, 115, 248)
HSLhsl(268, 90%, 71%)
HSVhsv(268, 54%, 97%)
CMYKcmyk(28.2%, 53.6%, 0%, 2.7%)
CIE-LABlab(60.34, 50.05, -57.53)
CIE-LCHlch(60.34, 76.25, 311.02°)
OKLaboklab(67.91% 0.1073 -0.1621)
OKLCHoklch(67.91% 0.194 303.5)
XYZxyz(41.4303, 28.5038, 92.1079)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273F8 #B9F873
analogous
#7376F8 #B273F8 #F473F8
triadic
#B273F8 #F8B273 #73F8B2
tetradic
#B273F8 #F87376 #B9F873 #73F8F4
square
#B273F8 #F87376 #B9F873 #73F8F4
split-complementary
#B273F8 #F8F473 #76F873
monochromatic
#730BE5 #9239F5 #B273F8 #D2ADFB #EFE2FE

Accessibility & contrast

On white

3.13
#B273F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B273F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273F8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273F8#FFFFFF#000000##000000
##B273F81.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#A58CAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b273f8;
/* rgb */ color: rgb(178, 115, 248);
/* oklch */ color: oklch(67.9% 0.194 303.5);
Tailwind
colors: {
  custom: {
    50: '#cc9dfb',
    500: '#b273f8',
    950: '#000000',
  },
}
SCSS
$custom: #b273f8;
$custom-light: #cc9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b273f8",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 268.421,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67911,
    "c": 0.19446,
    "h": 303.5
  },
  "luminance": 0.28504
}

Semantic roles & 50–950 ramp

primary
#B273F8
secondary
#E4F5D2
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273F8

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

Preview Lab → · Contrast checker → · Palette generator →

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