#8772F5#8772F5

#8772F5 is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.6% C 0.189 H 287.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8772F5
RGBrgb(135, 114, 245)
HSLhsl(250, 87%, 70%)
HSVhsv(250, 53%, 96%)
CMYKcmyk(44.9%, 53.5%, 0%, 3.9%)
CIE-LABlab(55.86, 39.83, -63.27)
CIE-LCHlch(55.86, 74.76, 302.19°)
OKLaboklab(63.58% 0.0555 -0.1802)
OKLCHoklch(63.58% 0.189 287.1)
XYZxyz(32.4857, 23.7768, 89.2462)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772F5 #E0F572
analogous
#729FF5 #8772F5 #C872F5
triadic
#8772F5 #F58772 #72F587
tetradic
#8772F5 #F5729F #E0F572 #72F5C8
square
#8772F5 #F5729F #E0F572 #72F5C8
split-complementary
#8772F5 #F5C872 #9FF572
monochromatic
#3110DD #5639F1 #8772F5 #B8ABF9 #E7E2FD

Accessibility & contrast

On white

3.65
#8772F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8772F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772F5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772F5#FFFFFF#000000##000000
##8772F51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89F9
Deuteranopia (green-blind)
#2C82F2
Tritanopia (blue-blind)
#648EA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8772f5;
/* rgb */ color: rgb(135, 114, 245);
/* oklch */ color: oklch(63.6% 0.189 287.1);
Tailwind
colors: {
  custom: {
    50: '#b09bf9',
    500: '#8772f5',
    950: '#000000',
  },
}
SCSS
$custom: #8772f5;
$custom-light: #b09bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8772f5",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 249.618,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.18856,
    "h": 287.1
  },
  "luminance": 0.23778
}

Semantic roles & 50–950 ramp

primary
#8772F5
secondary
#EEF3CF
accent
#E302BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8772F5

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

Preview Lab → · Contrast checker → · Palette generator →

#8772F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva