#B773F8#B773F8

#B773F8 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.196 H 305.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B773F8
RGBrgb(183, 115, 248)
HSLhsl(271, 90%, 71%)
HSVhsv(271, 54%, 97%)
CMYKcmyk(26.2%, 53.6%, 0%, 2.7%)
CIE-LABlab(60.88, 51.28, -56.65)
CIE-LCHlch(60.88, 76.41, 312.15°)
OKLaboklab(68.43% 0.1135 -0.1594)
OKLCHoklch(68.43% 0.196 305.4)
XYZxyz(42.5988, 29.1063, 92.1627)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B773F8 #B4F873
analogous
#7473F8 #B773F8 #F873F6
triadic
#B773F8 #F8B773 #73F8B7
tetradic
#B773F8 #F87473 #B4F873 #73F6F8
square
#B773F8 #F87473 #B4F873 #73F6F8
split-complementary
#B773F8 #F6F873 #73F874
monochromatic
#7B0BE5 #9939F5 #B773F8 #D5ADFB #F0E2FE

Accessibility & contrast

On white

3.08
#B773F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B773F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B773F8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B773F8#FFFFFF#000000##000000
##B773F81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#AC8CAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b773f8;
/* rgb */ color: rgb(183, 115, 248);
/* oklch */ color: oklch(68.4% 0.196 305.4);
Tailwind
colors: {
  custom: {
    50: '#d09dfb',
    500: '#b773f8',
    950: '#000000',
  },
}
SCSS
$custom: #b773f8;
$custom-light: #d09dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b773f8",
  "rgb": {
    "r": 183,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 270.677,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68426,
    "c": 0.19567,
    "h": 305.4
  },
  "luminance": 0.29106
}

Semantic roles & 50–950 ramp

primary
#B773F8
secondary
#E3F5D2
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B773F8

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

Preview Lab → · Contrast checker → · Palette generator →

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