#9781BF#9781BF

#9781BF is a light, moderate violet. Relative luminance 0.260; OKLCH L 64.7% C 0.094 H 300.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9781BF
RGBrgb(151, 129, 191)
HSLhsl(261, 33%, 63%)
HSVhsv(261, 32%, 75%)
CMYKcmyk(20.9%, 32.5%, 0%, 25.1%)
CIE-LABlab(58.08, 21.19, -29.34)
CIE-LCHlch(58.08, 36.19, 305.85°)
OKLaboklab(64.69% 0.047 -0.081)
OKLCHoklch(64.69% 0.094 300.1)
XYZxyz(30.0147, 26.0413, 52.7253)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9781BF #A9BF81
analogous
#818ABF #9781BF #B681BF
triadic
#9781BF #BF9781 #81BF97
tetradic
#9781BF #BF818A #A9BF81 #81BFB6
square
#9781BF #BF818A #A9BF81 #81BFB6
split-complementary
#9781BF #BFB681 #8ABF81
monochromatic
#594383 #7658AA #9781BF #B8AAD4 #DAD2E8

Accessibility & contrast

On white

3.38
#9781BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#9781BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9781BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9781BF#FFFFFF#000000##000000
##9781BF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC1
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#908B97
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9781bf;
/* rgb */ color: rgb(151, 129, 191);
/* oklch */ color: oklch(64.7% 0.094 300.1);
Tailwind
colors: {
  custom: {
    50: '#b6a5d2',
    500: '#9781bf',
    950: '#000000',
  },
}
SCSS
$custom: #9781bf;
$custom-light: #b6a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9781bf",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 261.29,
    "s": 32.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64688,
    "c": 0.09366,
    "h": 300.1
  },
  "luminance": 0.26041
}

Semantic roles & 50–950 ramp

primary
#9781BF
secondary
#D1D9C3
accent
#AB3A83
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #9781BF

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

Preview Lab → · Contrast checker → · Palette generator →

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