#9785CD#9785CD

#9785CD is a light, moderate violet. Relative luminance 0.278; OKLCH L 66.1% C 0.106 H 294.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9785CD
RGBrgb(151, 133, 205)
HSLhsl(255, 42%, 66%)
HSVhsv(255, 35%, 80%)
CMYKcmyk(26.3%, 35.1%, 0%, 19.6%)
CIE-LABlab(59.67, 22.26, -34.77)
CIE-LCHlch(59.67, 41.29, 302.63°)
OKLaboklab(66.11% 0.0447 -0.0966)
OKLCHoklch(66.11% 0.106 294.8)
XYZxyz(32.1668, 27.7618, 61.4096)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785CD #BBCD85
analogous
#8597CD #9785CD #BB85CD
triadic
#9785CD #CD9785 #85CD97
tetradic
#9785CD #CD8597 #BBCD85 #85CDBB
square
#9785CD #CD8597 #BBCD85 #85CDBB
split-complementary
#9785CD #CDBB85 #97CD85
monochromatic
#553F99 #725ABB #9785CD #BCB0DF #E1DCF1

Accessibility & contrast

On white

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

On black

6.55
#9785CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9785CD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785CD#FFFFFF#000000##000000
##9785CD1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#758FCB
Tritanopia (blue-blind)
#8C91A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9785cd;
/* rgb */ color: rgb(151, 133, 205);
/* oklch */ color: oklch(66.1% 0.106 294.8);
Tailwind
colors: {
  custom: {
    50: '#b7a8dc',
    500: '#9785cd',
    950: '#000000',
  },
}
SCSS
$custom: #9785cd;
$custom-light: #b7a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9785cd",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 255,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66106,
    "c": 0.10647,
    "h": 294.8
  },
  "luminance": 0.27762
}

Semantic roles & 50–950 ramp

primary
#9785CD
secondary
#DDE3CB
accent
#B53194
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9785CD

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

Preview Lab → · Contrast checker → · Palette generator →

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