#9795EA#9795EA

#9795EA is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.6% C 0.123 H 283.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9795EA
RGBrgb(151, 149, 234)
HSLhsl(241, 67%, 75%)
HSVhsv(241, 36%, 92%)
CMYKcmyk(35.5%, 36.3%, 0%, 8.2%)
CIE-LABlab(64.97, 20.47, -42.63)
CIE-LCHlch(64.97, 47.29, 295.65°)
OKLaboklab(70.59% 0.0295 -0.1194)
OKLCHoklch(70.59% 0.123 283.9)
XYZxyz(38.3571, 34.0135, 82.3702)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9795EA #E8EA95
analogous
#95BDEA #9795EA #C295EA
triadic
#9795EA #EA9795 #95EA97
tetradic
#9795EA #EA95BD #E8EA95 #95EAC2
square
#9795EA #EA95BD #E8EA95 #95EAC2
split-complementary
#9795EA #EAC295 #BDEA95
monochromatic
#332FD6 #6562E0 #9795EA #C9C8F4 #E6E5FA

Accessibility & contrast

On white

2.69
#9795EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9795EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9795EA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9795EA#FFFFFF#000000##000000
##9795EA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9795ea;
/* rgb */ color: rgb(151, 149, 234);
/* oklch */ color: oklch(70.6% 0.123 283.9);
Tailwind
colors: {
  custom: {
    50: '#b8b4f1',
    500: '#9795ea',
    950: '#000000',
  },
}
SCSS
$custom: #9795ea;
$custom-light: #b8b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9795ea",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 241.412,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70589,
    "c": 0.12294,
    "h": 283.9
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9795EA

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

Preview Lab → · Contrast checker → · Palette generator →

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