#997DF0#997DF0

#997DF0 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.7% C 0.166 H 292.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#997DF0
RGBrgb(153, 125, 240)
HSLhsl(255, 79%, 72%)
HSVhsv(255, 48%, 94%)
CMYKcmyk(36.3%, 47.9%, 0%, 5.9%)
CIE-LABlab(59.64, 36.36, -54.36)
CIE-LCHlch(59.64, 65.40, 303.78°)
OKLaboklab(66.69% 0.0637 -0.1535)
OKLCHoklch(66.69% 0.166 292.5)
XYZxyz(36.1945, 27.7300, 85.8666)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF0 #D4F07D
analogous
#7D9BF0 #997DF0 #D37DF0
triadic
#997DF0 #F0997D #7DF099
tetradic
#997DF0 #F07D9B #D4F07D #7DF0D3
square
#997DF0 #F07D9B #D4F07D #7DF0D3
split-complementary
#997DF0 #F0D37D #9BF07D
monochromatic
#4819DA #6E46EA #997DF0 #C4B4F6 #E9E4FC

Accessibility & contrast

On white

3.21
#997DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#997DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF0
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF0#FFFFFF#000000##000000
##997DF01.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F4
Deuteranopia (green-blind)
#578EED
Tritanopia (blue-blind)
#8394AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997df0;
/* rgb */ color: rgb(153, 125, 240);
/* oklch */ color: oklch(66.7% 0.166 292.5);
Tailwind
colors: {
  custom: {
    50: '#bba3f5',
    500: '#997df0',
    950: '#000000',
  },
}
SCSS
$custom: #997df0;
$custom-light: #bba3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997df0",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 254.609,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66686,
    "c": 0.16622,
    "h": 292.5
  },
  "luminance": 0.27731
}

Semantic roles & 50–950 ramp

primary
#997DF0
secondary
#ECF3D6
accent
#DC0AA9
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF0

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

Preview Lab → · Contrast checker → · Palette generator →

#997DF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva