#9782AF#9782AF

#9782AF is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.2% C 0.070 H 305.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9782AF
RGBrgb(151, 130, 175)
HSLhsl(268, 22%, 60%)
HSVhsv(268, 26%, 69%)
CMYKcmyk(13.7%, 25.7%, 0%, 31.4%)
CIE-LABlab(57.69, 16.94, -20.80)
CIE-LCHlch(57.69, 26.83, 309.16°)
OKLaboklab(64.19% 0.0409 -0.0568)
OKLCHoklch(64.19% 0.07 305.8)
XYZxyz(28.4815, 25.6398, 43.9977)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782AF #9AAF82
analogous
#8284AF #9782AF #AD82AF
triadic
#9782AF #AF9782 #82AF97
tetradic
#9782AF #AF8284 #9AAF82 #82AFAD
square
#9782AF #AF8284 #9AAF82 #82AFAD
split-complementary
#9782AF #AFAD82 #84AF82
monochromatic
#5A476F #785F95 #9782AF #B6A7C7 #D5CDDF

Accessibility & contrast

On white

3.43
#9782AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9782AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782AF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782AF#FFFFFF#000000##000000
##9782AF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB1
Deuteranopia (green-blind)
#7E8BAE
Tritanopia (blue-blind)
#948892
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9782af;
/* rgb */ color: rgb(151, 130, 175);
/* oklch */ color: oklch(64.2% 0.070 305.8);
Tailwind
colors: {
  custom: {
    50: '#b6a6c7',
    500: '#9782af',
    950: '#000000',
  },
}
SCSS
$custom: #9782af;
$custom-light: #b6a6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9782af",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 175
  },
  "hsl": {
    "h": 268,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64185,
    "c": 0.07002,
    "h": 305.8
  },
  "luminance": 0.2564
}

Semantic roles & 50–950 ramp

primary
#9782AF
secondary
#C7CFBE
accent
#BE6997
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #9782AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9782AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva