#B273FD#B273FD

#B273FD is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.2% C 0.200 H 302.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B273FD
RGBrgb(178, 115, 253)
HSLhsl(267, 97%, 72%)
HSVhsv(267, 55%, 99%)
CMYKcmyk(29.6%, 54.5%, 0%, 0.8%)
CIE-LABlab(60.62, 51.23, -59.84)
CIE-LCHlch(60.62, 78.77, 310.57°)
OKLaboklab(68.21% 0.1075 -0.1689)
OKLCHoklch(68.21% 0.2 302.5)
XYZxyz(42.2164, 28.8183, 96.2479)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273FD #BEFD73
analogous
#7379FD #B273FD #F773FD
triadic
#B273FD #FDB273 #73FDB2
tetradic
#B273FD #FD7379 #BEFD73 #73FDF7
square
#B273FD #FD7379 #BEFD73 #73FDF7
split-complementary
#B273FD #FDF773 #79FD73
monochromatic
#7003F2 #9137FC #B273FD #D3AFFE #EEE1FF

Accessibility & contrast

On white

3.10
#B273FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B273FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273FD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273FD#FFFFFF#000000##000000
##B273FD1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#A48EAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b273fd;
/* rgb */ color: rgb(178, 115, 253);
/* oklch */ color: oklch(68.2% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#cd9dff',
    500: '#b273fd',
    950: '#000000',
  },
}
SCSS
$custom: #b273fd;
$custom-light: #cd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b273fd",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 267.391,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.20024,
    "h": 302.5
  },
  "luminance": 0.28818
}

Semantic roles & 50–950 ramp

primary
#B273FD
secondary
#E7F7D4
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B273FD

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

Preview Lab → · Contrast checker → · Palette generator →

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