#785FDD#785FDD

#785FDD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.184 H 288.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#785FDD
RGBrgb(120, 95, 221)
HSLhsl(252, 65%, 62%)
HSVhsv(252, 57%, 87%)
CMYKcmyk(45.7%, 57%, 0%, 13.3%)
CIE-LABlab(48.76, 40.75, -61.33)
CIE-LCHlch(48.76, 73.63, 303.60°)
OKLaboklab(57.52% 0.058 -0.175)
OKLCHoklch(57.52% 0.184 288.3)
XYZxyz(24.8853, 17.3970, 70.4393)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FDD #C4DD5F
analogous
#5F85DD #785FDD #B75FDD
triadic
#785FDD #DD785F #5FDD78
tetradic
#785FDD #DD5F85 #C4DD5F #5FDDB7
square
#785FDD #DD5F85 #C4DD5F #5FDDB7
split-complementary
#785FDD #DDB75F #85DD5F
monochromatic
#3B22A0 #4D2DD2 #785FDD #A391E8 #CDC4F2

Accessibility & contrast

On white

4.69
#785FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#785FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FDD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FDD#FFFFFF#000000##FFFFFF
##785FDD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0377E1
Deuteranopia (green-blind)
#0971DA
Tritanopia (blue-blind)
#587B95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #785fdd;
/* rgb */ color: rgb(120, 95, 221);
/* oklch */ color: oklch(57.5% 0.184 288.3);
Tailwind
colors: {
  custom: {
    50: '#a58de8',
    500: '#785fdd',
    950: '#000000',
  },
}
SCSS
$custom: #785fdd;
$custom-light: #a58de8;
$custom-dark: #000000;
JSON
{
  "hex": "#785fdd",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 251.905,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.18435,
    "h": 288.3
  },
  "luminance": 0.17398
}

Semantic roles & 50–950 ramp

primary
#785FDD
secondary
#DAE3B5
accent
#CD19A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785FDD

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

Preview Lab → · Contrast checker → · Palette generator →

#785FDD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva