#997CFA#997CFA

#997CFA is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.1% C 0.181 H 291.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#997CFA
RGBrgb(153, 124, 250)
HSLhsl(254, 93%, 73%)
HSVhsv(254, 50%, 98%)
CMYKcmyk(38.8%, 50.4%, 0%, 2%)
CIE-LABlab(59.97, 39.58, -59.37)
CIE-LCHlch(59.97, 71.35, 303.69°)
OKLaboklab(67.11% 0.0658 -0.1682)
OKLCHoklch(67.11% 0.181 291.4)
XYZxyz(37.5952, 28.0887, 93.8648)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CFA #DDFA7C
analogous
#7C9EFA #997CFA #D87CFA
triadic
#997CFA #FA997C #7CFA99
tetradic
#997CFA #FA7C9E #DDFA7C #7CFAD8
square
#997CFA #FA7C9E #DDFA7C #7CFAD8
split-complementary
#997CFA #FAD87C #9EFA7C
monochromatic
#3F09F2 #6B41F8 #997CFA #C7B7FC #E8E2FE

Accessibility & contrast

On white

3.17
#997CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#997CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CFA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CFA#FFFFFF#000000##000000
##997CFA1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#7F96AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997cfa;
/* rgb */ color: rgb(153, 124, 250);
/* oklch */ color: oklch(67.1% 0.181 291.4);
Tailwind
colors: {
  custom: {
    50: '#bca2fd',
    500: '#997cfa',
    950: '#000000',
  },
}
SCSS
$custom: #997cfa;
$custom-light: #bca2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997cfa",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 253.81,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.18062,
    "h": 291.4
  },
  "luminance": 0.2809
}

Semantic roles & 50–950 ramp

primary
#997CFA
secondary
#EEF6D5
accent
#E600B1
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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