#9785CC#9785CC

#9785CC is a light, moderate violet. Relative luminance 0.277; OKLCH L 66.1% C 0.105 H 295.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9785CC
RGBrgb(151, 133, 204)
HSLhsl(255, 41%, 66%)
HSVhsv(255, 35%, 80%)
CMYKcmyk(26%, 34.8%, 0%, 20%)
CIE-LABlab(59.63, 22.02, -34.28)
CIE-LCHlch(59.63, 40.74, 302.71°)
OKLaboklab(66.06% 0.0444 -0.0952)
OKLCHoklch(66.06% 0.105 295)
XYZxyz(32.0465, 27.7136, 60.7759)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785CC #BACC85
analogous
#8596CC #9785CC #BA85CC
triadic
#9785CC #CC9785 #85CC97
tetradic
#9785CC #CC8596 #BACC85 #85CCBA
square
#9785CC #CC8596 #BACC85 #85CCBA
split-complementary
#9785CC #CCBA85 #96CC85
monochromatic
#563F97 #725ABA #9785CC #BCB0DE #E1DBF0

Accessibility & contrast

On white

3.21
#9785CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9785CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9785CC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785CC#FFFFFF#000000##000000
##9785CC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#758FCA
Tritanopia (blue-blind)
#8C919F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9785cc;
/* rgb */ color: rgb(151, 133, 204);
/* oklch */ color: oklch(66.1% 0.105 295.0);
Tailwind
colors: {
  custom: {
    50: '#b7a8dc',
    500: '#9785cc',
    950: '#000000',
  },
}
SCSS
$custom: #9785cc;
$custom-light: #b7a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9785cc",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 255.211,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66059,
    "c": 0.10508,
    "h": 295
  },
  "luminance": 0.27714
}

Semantic roles & 50–950 ramp

primary
#9785CC
secondary
#DCE2CB
accent
#B43193
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9785CC

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

Preview Lab → · Contrast checker → · Palette generator →

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