#8E95CF#8E95CF

#8E95CF is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.6% C 0.086 H 278.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8E95CF
RGBrgb(142, 149, 207)
HSLhsl(234, 40%, 68%)
HSVhsv(234, 31%, 81%)
CMYKcmyk(31.4%, 28%, 0%, 18.8%)
CIE-LABlab(63.14, 10.90, -30.57)
CIE-LCHlch(63.14, 32.45, 289.62°)
OKLaboklab(68.62% 0.0128 -0.0848)
OKLCHoklch(68.62% 0.086 278.6)
XYZxyz(33.1622, 31.7496, 63.4004)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E95CF #CFC88E
analogous
#8EB5CF #8E95CF #A78ECF
triadic
#8E95CF #CF8E95 #95CF8E
tetradic
#8E95CF #CF8EB5 #CFC88E #8ECFA7
square
#8E95CF #CF8EB5 #CFC88E #8ECFA7
split-complementary
#8E95CF #CFA78E #B5CF8E
monochromatic
#444D9F #636DBD #8E95CF #B9BDE1 #E4E6F3

Accessibility & contrast

On white

2.86
#8E95CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8E95CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E95CF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E95CF#FFFFFF#000000##000000
##8E95CF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BD1
Deuteranopia (green-blind)
#8097CE
Tritanopia (blue-blind)
#7DA0A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8e95cf;
/* rgb */ color: rgb(142, 149, 207);
/* oklch */ color: oklch(68.6% 0.086 278.6);
Tailwind
colors: {
  custom: {
    50: '#b0b4de',
    500: '#8e95cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e95cf;
$custom-light: #b0b4de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e95cf",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 207
  },
  "hsl": {
    "h": 233.538,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68622,
    "c": 0.08574,
    "h": 278.6
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#8E95CF
secondary
#E6E4D3
accent
#A532B3
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #8E95CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8E95CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva