#B273EF#B273EF

#B273EF is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.184 H 305.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B273EF
RGBrgb(178, 115, 239)
HSLhsl(270, 79%, 69%)
HSVhsv(270, 52%, 94%)
CMYKcmyk(25.5%, 51.9%, 0%, 6.3%)
CIE-LABlab(59.85, 47.96, -53.33)
CIE-LCHlch(59.85, 71.72, 311.97°)
OKLaboklab(67.39% 0.1068 -0.1499)
OKLCHoklch(67.39% 0.184 305.5)
XYZxyz(40.0675, 27.9587, 84.9304)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273EF #B0EF73
analogous
#7473EF #B273EF #EF73EE
triadic
#B273EF #EFB273 #73EFB2
tetradic
#B273EF #EF7473 #B0EF73 #73EEEF
square
#B273EF #EF7473 #B0EF73 #73EEEF
split-complementary
#B273EF #EEEF73 #73EF74
monochromatic
#7518D0 #943CE9 #B273EF #D0AAF5 #EEE1FC

Accessibility & contrast

On white

3.19
#B273EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B273EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273EF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273EF#FFFFFF#000000##000000
##B273EF1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#A889A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b273ef;
/* rgb */ color: rgb(178, 115, 239);
/* oklch */ color: oklch(67.4% 0.184 305.5);
Tailwind
colors: {
  custom: {
    50: '#cc9df5',
    500: '#b273ef',
    950: '#000000',
  },
}
SCSS
$custom: #b273ef;
$custom-light: #cc9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#b273ef",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 270.484,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67391,
    "c": 0.18403,
    "h": 305.5
  },
  "luminance": 0.27958
}

Semantic roles & 50–950 ramp

primary
#B273EF
secondary
#DFF1CD
accent
#DC0A71
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273EF

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

Preview Lab → · Contrast checker → · Palette generator →

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