#9799DF#9799DF

#9799DF is a light, moderate blue. Relative luminance 0.347; OKLCH L 70.8% C 0.102 H 282.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9799DF
RGBrgb(151, 153, 223)
HSLhsl(238, 53%, 73%)
HSVhsv(238, 32%, 87%)
CMYKcmyk(32.3%, 31.4%, 0%, 12.5%)
CIE-LABlab(65.51, 15.30, -35.72)
CIE-LCHlch(65.51, 38.86, 293.19°)
OKLaboklab(70.84% 0.0215 -0.0994)
OKLCHoklch(70.84% 0.102 282.2)
XYZxyz(37.4694, 34.6884, 74.5191)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799DF #DFDD97
analogous
#97BDDF #9799DF #B997DF
triadic
#9799DF #DF9799 #99DF97
tetradic
#9799DF #DF97BD #DFDD97 #97DFB9
square
#9799DF #DF97BD #DFDD97 #97DFB9
split-complementary
#9799DF #DFB997 #BDDF97
monochromatic
#3B3FC0 #686BD1 #9799DF #C6C7ED #E8E8F8

Accessibility & contrast

On white

2.65
#9799DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#9799DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799DF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799DF#FFFFFF#000000##000000
##9799DF1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E2
Deuteranopia (green-blind)
#819DDD
Tritanopia (blue-blind)
#84A6B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9799df;
/* rgb */ color: rgb(151, 153, 223);
/* oklch */ color: oklch(70.8% 0.102 282.2);
Tailwind
colors: {
  custom: {
    50: '#b7b7e9',
    500: '#9799df',
    950: '#000000',
  },
}
SCSS
$custom: #9799df;
$custom-light: #b7b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9799df",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 238.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70839,
    "c": 0.10173,
    "h": 282.2
  },
  "luminance": 0.34689
}

Semantic roles & 50–950 ramp

primary
#9799DF
secondary
#EFEEDC
accent
#BC25C0
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #9799DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9799DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva