#9782CA#9782CA

#9782CA is a light, moderate violet. Relative luminance 0.268; OKLCH L 65.4% C 0.107 H 296.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9782CA
RGBrgb(151, 130, 202)
HSLhsl(258, 40%, 65%)
HSVhsv(258, 36%, 79%)
CMYKcmyk(25.2%, 35.6%, 0%, 20.8%)
CIE-LABlab(58.80, 23.26, -34.45)
CIE-LCHlch(58.80, 41.56, 304.03°)
OKLaboklab(65.39% 0.0482 -0.0957)
OKLCHoklch(65.39% 0.107 296.7)
XYZxyz(31.4033, 26.8086, 59.3858)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782CA #B5CA82
analogous
#8291CA #9782CA #BB82CA
triadic
#9782CA #CA9782 #82CA97
tetradic
#9782CA #CA8291 #B5CA82 #82CABB
square
#9782CA #CA8291 #B5CA82 #82CABB
split-complementary
#9782CA #CABB82 #91CA82
monochromatic
#573E93 #7357B8 #9782CA #BBADDC #DFD8EE

Accessibility & contrast

On white

3.30
#9782CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9782CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782CA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782CA#FFFFFF#000000##000000
##9782CA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECD
Deuteranopia (green-blind)
#738DC8
Tritanopia (blue-blind)
#8D8E9D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9782ca;
/* rgb */ color: rgb(151, 130, 202);
/* oklch */ color: oklch(65.4% 0.107 296.7);
Tailwind
colors: {
  custom: {
    50: '#b7a6da',
    500: '#9782ca',
    950: '#000000',
  },
}
SCSS
$custom: #9782ca;
$custom-light: #b7a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#9782ca",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 257.5,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.10717,
    "h": 296.7
  },
  "luminance": 0.26809
}

Semantic roles & 50–950 ramp

primary
#9782CA
secondary
#D9E0C8
accent
#B3328E
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F15
muted
#807F83

Preview Lab

Preview with #9782CA

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

Preview Lab → · Contrast checker → · Palette generator →

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