#9895F8#9895F8

#9895F8 is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.4% C 0.142 H 283.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9895F8
RGBrgb(152, 149, 248)
HSLhsl(242, 88%, 78%)
HSVhsv(242, 40%, 97%)
CMYKcmyk(38.7%, 39.9%, 0%, 2.7%)
CIE-LABlab(65.71, 24.48, -49.15)
CIE-LCHlch(65.71, 54.91, 296.48°)
OKLaboklab(71.38% 0.0334 -0.1383)
OKLCHoklch(71.38% 0.142 283.6)
XYZxyz(40.6348, 34.9461, 93.3930)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9895F8 #F5F895
analogous
#95C3F8 #9895F8 #C995F8
triadic
#9895F8 #F89895 #95F898
tetradic
#9895F8 #F895C3 #F5F895 #95F8C9
square
#9895F8 #F895C3 #F5F895 #95F8C9
split-complementary
#9895F8 #F8C995 #C3F895
monochromatic
#2822F0 #605CF4 #9895F8 #D0CEFC #E3E2FD

Accessibility & contrast

On white

2.63
#9895F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9895F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9895F8
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9895F8#FFFFFF#000000##000000
##9895F81.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#6F9CF6
Tritanopia (blue-blind)
#7DA8BB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9895f8;
/* rgb */ color: rgb(152, 149, 248);
/* oklch */ color: oklch(71.4% 0.142 283.6);
Tailwind
colors: {
  custom: {
    50: '#bab4fb',
    500: '#9895f8',
    950: '#000000',
  },
}
SCSS
$custom: #9895f8;
$custom-light: #bab4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9895f8",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 241.818,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.71384,
    "c": 0.14228,
    "h": 283.6
  },
  "luminance": 0.34948
}

Semantic roles & 50–950 ramp

primary
#9895F8
secondary
#F4F5D6
accent
#E401DD
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9895F8

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

Preview Lab → · Contrast checker → · Palette generator →

#9895F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva