#8A95F2#8A95F2

#8A95F2 is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.0% C 0.136 H 277.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8A95F2
RGBrgb(138, 149, 242)
HSLhsl(234, 80%, 75%)
HSVhsv(234, 43%, 95%)
CMYKcmyk(43%, 38.4%, 0%, 5.1%)
CIE-LABlab(64.41, 19.32, -47.98)
CIE-LCHlch(64.41, 51.72, 291.93°)
OKLaboklab(70.04% 0.017 -0.1352)
OKLCHoklch(70.04% 0.136 277.2)
XYZxyz(37.2509, 33.3072, 88.4533)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A95F2 #F2E78A
analogous
#8AC9F2 #8A95F2 #B38AF2
triadic
#8A95F2 #F28A95 #95F28A
tetradic
#8A95F2 #F28AC9 #F2E78A #8AF2B3
square
#8A95F2 #F28AC9 #F2E78A #8AF2B3
split-complementary
#8A95F2 #F2B38A #C9F28A
monochromatic
#1C31E6 #5363EC #8A95F2 #C1C7F8 #E3E6FC

Accessibility & contrast

On white

2.74
#8A95F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#8A95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A95F2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A95F2#FFFFFF#000000##000000
##8A95F21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F6
Deuteranopia (green-blind)
#6C98F0
Tritanopia (blue-blind)
#68A8B8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a95f2;
/* rgb */ color: rgb(138, 149, 242);
/* oklch */ color: oklch(70.0% 0.136 277.2);
Tailwind
colors: {
  custom: {
    50: '#b0b4f7',
    500: '#8a95f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a95f2;
$custom-light: #b0b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a95f2",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 233.654,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.13625,
    "h": 277.2
  },
  "luminance": 0.33309
}

Semantic roles & 50–950 ramp

primary
#8A95F2
secondary
#F4F1D7
accent
#C609DC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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