#997BF2#997BF2

#997BF2 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.172 H 292.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#997BF2
RGBrgb(153, 123, 242)
HSLhsl(255, 82%, 72%)
HSVhsv(255, 49%, 95%)
CMYKcmyk(36.8%, 49.2%, 0%, 5.1%)
CIE-LABlab(59.30, 38.03, -56.02)
CIE-LCHlch(59.30, 67.71, 304.17°)
OKLaboklab(66.46% 0.0664 -0.1584)
OKLCHoklch(66.46% 0.172 292.7)
XYZxyz(36.2426, 27.3482, 87.3564)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF2 #D4F27B
analogous
#7B99F2 #997BF2 #D57BF2
triadic
#997BF2 #F2997B #7BF299
tetradic
#997BF2 #F27B99 #D4F27B #7BF2D5
square
#997BF2 #F27B99 #D4F27B #7BF2D5
split-complementary
#997BF2 #F2D57B #99F27B
monochromatic
#4816DD #6E43ED #997BF2 #C4B3F7 #E9E3FC

Accessibility & contrast

On white

3.25
#997BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#997BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF2#FFFFFF#000000##000000
##997BF21.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#528DEF
Tritanopia (blue-blind)
#8393AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997bf2;
/* rgb */ color: rgb(153, 123, 242);
/* oklch */ color: oklch(66.5% 0.172 292.7);
Tailwind
colors: {
  custom: {
    50: '#bba2f7',
    500: '#997bf2',
    950: '#000000',
  },
}
SCSS
$custom: #997bf2;
$custom-light: #bba2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf2",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 255.126,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.17176,
    "h": 292.7
  },
  "luminance": 0.27349
}

Semantic roles & 50–950 ramp

primary
#997BF2
secondary
#ECF4D5
accent
#DE07A8
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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