#9795CD#9795CD

#9795CD is a light, moderate blue. Relative luminance 0.325; OKLCH L 69.2% C 0.082 H 285.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9795CD
RGBrgb(151, 149, 205)
HSLhsl(242, 36%, 69%)
HSVhsv(242, 27%, 80%)
CMYKcmyk(26.3%, 27.3%, 0%, 19.6%)
CIE-LABlab(63.74, 13.06, -28.46)
CIE-LCHlch(63.74, 31.32, 294.64°)
OKLaboklab(69.23% 0.0221 -0.0786)
OKLCHoklch(69.23% 0.082 285.7)
XYZxyz(34.5266, 32.4813, 62.1962)
Luminance0.3248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9795CD #CBCD95
analogous
#95AFCD #9795CD #B395CD
triadic
#9795CD #CD9795 #95CD97
tetradic
#9795CD #CD95AF #CBCD95 #95CDB3
square
#9795CD #CD95AF #CBCD95 #95CDB3
split-complementary
#9795CD #CDB395 #AFCD95
monochromatic
#4D4A9D #6E6BB9 #9795CD #C0BFE1 #E9E8F4

Accessibility & contrast

On white

2.80
#9795CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9795CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9795CD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9795CD#FFFFFF#000000##000000
##9795CD1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#8599CC
Tritanopia (blue-blind)
#8B9FA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9795cd;
/* rgb */ color: rgb(151, 149, 205);
/* oklch */ color: oklch(69.2% 0.082 285.7);
Tailwind
colors: {
  custom: {
    50: '#b6b4dc',
    500: '#9795cd',
    950: '#000000',
  },
}
SCSS
$custom: #9795cd;
$custom-light: #b6b4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9795cd",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 242.143,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69232,
    "c": 0.08167,
    "h": 285.7
  },
  "luminance": 0.32482
}

Semantic roles & 50–950 ramp

primary
#9795CD
secondary
#E6E7D7
accent
#AF37AA
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9795CD

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

Preview Lab → · Contrast checker → · Palette generator →

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