#9895EA#9895EA

#9895EA is a light, vivid blue. Relative luminance 0.341; OKLCH L 70.7% C 0.123 H 284.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9895EA
RGBrgb(152, 149, 234)
HSLhsl(242, 67%, 75%)
HSVhsv(242, 36%, 92%)
CMYKcmyk(35%, 36.3%, 0%, 8.2%)
CIE-LABlab(65.05, 20.74, -42.50)
CIE-LCHlch(65.05, 47.29, 296.01°)
OKLaboklab(70.67% 0.0306 -0.119)
OKLCHoklch(70.67% 0.123 284.4)
XYZxyz(38.5435, 34.1096, 82.3790)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9895EA #E7EA95
analogous
#95BCEA #9895EA #C395EA
triadic
#9895EA #EA9895 #95EA98
tetradic
#9895EA #EA95BC #E7EA95 #95EAC3
square
#9895EA #EA95BC #E7EA95 #95EAC3
split-complementary
#9895EA #EAC395 #BCEA95
monochromatic
#352FD6 #6662E0 #9895EA #CAC8F4 #E6E5FA

Accessibility & contrast

On white

2.68
#9895EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9895EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9895EA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9895EA#FFFFFF#000000##000000
##9895EA1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#82A5B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9895ea;
/* rgb */ color: rgb(152, 149, 234);
/* oklch */ color: oklch(70.7% 0.123 284.4);
Tailwind
colors: {
  custom: {
    50: '#b9b4f1',
    500: '#9895ea',
    950: '#000000',
  },
}
SCSS
$custom: #9895ea;
$custom-light: #b9b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9895ea",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 242.118,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70666,
    "c": 0.12284,
    "h": 284.4
  },
  "luminance": 0.34111
}

Semantic roles & 50–950 ramp

primary
#9895EA
secondary
#F1F1DA
accent
#CF17C8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9895EA

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

Preview Lab → · Contrast checker → · Palette generator →

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