#8772F2#8772F2

#8772F2 is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.4% C 0.185 H 287.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8772F2
RGBrgb(135, 114, 242)
HSLhsl(250, 83%, 70%)
HSVhsv(250, 53%, 95%)
CMYKcmyk(44.2%, 52.9%, 0%, 5.1%)
CIE-LABlab(55.68, 38.98, -61.90)
CIE-LCHlch(55.68, 73.15, 302.20°)
OKLaboklab(63.39% 0.0554 -0.1762)
OKLCHoklch(63.39% 0.185 287.5)
XYZxyz(32.0314, 23.5951, 86.8538)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772F2 #DDF272
analogous
#729DF2 #8772F2 #C772F2
triadic
#8772F2 #F28772 #72F287
tetradic
#8772F2 #F2729D #DDF272 #72F2C7
square
#8772F2 #F2729D #DDF272 #72F2C7
split-complementary
#8772F2 #F2C772 #9DF272
monochromatic
#3414D6 #573AED #8772F2 #B7AAF7 #E6E2FC

Accessibility & contrast

On white

3.67
#8772F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8772F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772F2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772F2#FFFFFF#000000##000000
##8772F21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F6
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#668EA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8772f2;
/* rgb */ color: rgb(135, 114, 242);
/* oklch */ color: oklch(63.4% 0.185 287.5);
Tailwind
colors: {
  custom: {
    50: '#b09bf7',
    500: '#8772f2',
    950: '#000000',
  },
}
SCSS
$custom: #8772f2;
$custom-light: #b09bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8772f2",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 249.844,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63386,
    "c": 0.18468,
    "h": 287.5
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#8772F2
secondary
#ECF2CE
accent
#E006BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8772F2

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

Preview Lab → · Contrast checker → · Palette generator →

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