#9785CE#9785CE

#9785CE is a light, moderate violet. Relative luminance 0.278; OKLCH L 66.2% C 0.108 H 294.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9785CE
RGBrgb(151, 133, 206)
HSLhsl(255, 43%, 66%)
HSVhsv(255, 35%, 81%)
CMYKcmyk(26.7%, 35.4%, 0%, 19.2%)
CIE-LABlab(59.72, 22.51, -35.27)
CIE-LCHlch(59.72, 41.84, 302.55°)
OKLaboklab(66.15% 0.0449 -0.0981)
OKLCHoklch(66.15% 0.108 294.6)
XYZxyz(32.2879, 27.8102, 62.0474)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785CE #BCCE85
analogous
#8598CE #9785CE #BC85CE
triadic
#9785CE #CE9785 #85CE97
tetradic
#9785CE #CE8598 #BCCE85 #85CEBC
square
#9785CE #CE8598 #BCCE85 #85CEBC
split-complementary
#9785CE #CEBC85 #98CE85
monochromatic
#553E9B #7259BC #9785CE #BCB1E0 #E1DCF1

Accessibility & contrast

On white

3.20
#9785CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#9785CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9785CE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785CE#FFFFFF#000000##000000
##9785CE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D1
Deuteranopia (green-blind)
#748FCC
Tritanopia (blue-blind)
#8B91A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9785ce;
/* rgb */ color: rgb(151, 133, 206);
/* oklch */ color: oklch(66.2% 0.108 294.6);
Tailwind
colors: {
  custom: {
    50: '#b7a8dd',
    500: '#9785ce',
    950: '#000000',
  },
}
SCSS
$custom: #9785ce;
$custom-light: #b7a8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9785ce",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 206
  },
  "hsl": {
    "h": 254.795,
    "s": 42.69,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.10786,
    "h": 294.6
  },
  "luminance": 0.27811
}

Semantic roles & 50–950 ramp

primary
#9785CE
secondary
#DDE3CC
accent
#B63095
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9785CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9785CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva