#9781F9#9781F9

#9781F9 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.7% C 0.172 H 289.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9781F9
RGBrgb(151, 129, 249)
HSLhsl(251, 91%, 74%)
HSVhsv(251, 48%, 98%)
CMYKcmyk(39.4%, 48.2%, 0%, 2.4%)
CIE-LABlab(60.89, 35.99, -57.36)
CIE-LCHlch(60.89, 67.72, 302.11°)
OKLaboklab(67.73% 0.0572 -0.1624)
OKLCHoklch(67.73% 0.172 289.4)
XYZxyz(37.7069, 29.1182, 93.2378)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9781F9 #E3F981
analogous
#81A7F9 #9781F9 #D381F9
triadic
#9781F9 #F99781 #81F997
tetradic
#9781F9 #F981A7 #E3F981 #81F9D3
square
#9781F9 #F981A7 #E3F981 #81F9D3
split-complementary
#9781F9 #F9D381 #A7F981
monochromatic
#370CF3 #6747F6 #9781F9 #C7BBFC #E7E2FE

Accessibility & contrast

On white

3.08
#9781F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9781F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9781F9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9781F9#FFFFFF#000000##000000
##9781F91.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#7C99B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9781f9;
/* rgb */ color: rgb(151, 129, 249);
/* oklch */ color: oklch(67.7% 0.172 289.4);
Tailwind
colors: {
  custom: {
    50: '#baa6fc',
    500: '#9781f9',
    950: '#000000',
  },
}
SCSS
$custom: #9781f9;
$custom-light: #baa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9781f9",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 251,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67734,
    "c": 0.17217,
    "h": 289.4
  },
  "luminance": 0.29119
}

Semantic roles & 50–950 ramp

primary
#9781F9
secondary
#F0F6D5
accent
#E600BB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9781F9

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

Preview Lab → · Contrast checker → · Palette generator →

#9781F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva