#8785F2#8785F2

#8785F2 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.8% C 0.158 H 282.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8785F2
RGBrgb(135, 133, 242)
HSLhsl(241, 81%, 74%)
HSVhsv(241, 45%, 95%)
CMYKcmyk(44.2%, 45%, 0%, 5.1%)
CIE-LABlab(60.19, 27.92, -54.68)
CIE-LCHlch(60.19, 61.40, 297.05°)
OKLaboklab(66.77% 0.0331 -0.1549)
OKLCHoklch(66.77% 0.158 282.1)
XYZxyz(34.4015, 28.3352, 87.6438)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8785F2 #F0F285
analogous
#85B9F2 #8785F2 #BD85F2
triadic
#8785F2 #F28785 #85F287
tetradic
#8785F2 #F285B9 #F0F285 #85F2BD
square
#8785F2 #F285B9 #F0F285 #85F2BD
split-complementary
#8785F2 #F2BD85 #B9F285
monochromatic
#1C18E4 #514EEC #8785F2 #BDBCF8 #E4E3FC

Accessibility & contrast

On white

3.15
#8785F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8785F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8785F2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8785F2#FFFFFF#000000##000000
##8785F21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#548DF0
Tritanopia (blue-blind)
#649CB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8785f2;
/* rgb */ color: rgb(135, 133, 242);
/* oklch */ color: oklch(66.8% 0.158 282.1);
Tailwind
colors: {
  custom: {
    50: '#afa8f7',
    500: '#8785f2',
    950: '#000000',
  },
}
SCSS
$custom: #8785f2;
$custom-light: #afa8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8785f2",
  "rgb": {
    "r": 135,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 241.101,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66773,
    "c": 0.1584,
    "h": 282.1
  },
  "luminance": 0.28337
}

Semantic roles & 50–950 ramp

primary
#8785F2
secondary
#F3F4D7
accent
#DD08D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8785F2

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

Preview Lab → · Contrast checker → · Palette generator →

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