#8795F7#8795F7

#8795F7 is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.1% C 0.144 H 275.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8795F7
RGBrgb(135, 149, 247)
HSLhsl(233, 88%, 75%)
HSVhsv(233, 45%, 97%)
CMYKcmyk(45.3%, 39.7%, 0%, 3.1%)
CIE-LABlab(64.45, 20.02, -50.67)
CIE-LCHlch(64.45, 54.48, 291.56°)
OKLaboklab(70.1% 0.0148 -0.1431)
OKLCHoklch(70.1% 0.144 275.9)
XYZxyz(37.5225, 33.3592, 92.4395)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8795F7 #F7E987
analogous
#87CDF7 #8795F7 #B187F7
triadic
#8795F7 #F78795 #95F787
tetradic
#8795F7 #F787CD #F7E987 #87F7B1
square
#8795F7 #F787CD #F7E987 #87F7B1
split-complementary
#8795F7 #F7B187 #CDF787
monochromatic
#1430EF #4E62F3 #8795F7 #C0C8FB #E2E6FD

Accessibility & contrast

On white

2.74
#8795F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#8795F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8795F7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8795F7#FFFFFF#000000##000000
##8795F71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#5FA9BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8795f7;
/* rgb */ color: rgb(135, 149, 247);
/* oklch */ color: oklch(70.1% 0.144 275.9);
Tailwind
colors: {
  custom: {
    50: '#afb3fa',
    500: '#8795f7',
    950: '#000000',
  },
}
SCSS
$custom: #8795f7;
$custom-light: #afb3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8795f7",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 247
  },
  "hsl": {
    "h": 232.5,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70103,
    "c": 0.14385,
    "h": 275.9
  },
  "luminance": 0.33361
}

Semantic roles & 50–950 ramp

primary
#8795F7
secondary
#F5F1D6
accent
#C801E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8795F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8795F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva