#785CDA#785CDA

#785CDA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.185 H 289.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#785CDA
RGBrgb(120, 92, 218)
HSLhsl(253, 63%, 61%)
HSVhsv(253, 58%, 85%)
CMYKcmyk(45%, 57.8%, 0%, 14.5%)
CIE-LABlab(47.89, 41.62, -61.02)
CIE-LCHlch(47.89, 73.86, 304.30°)
OKLaboklab(56.82% 0.0614 -0.1741)
OKLCHoklch(56.82% 0.185 289.4)
XYZxyz(24.2242, 16.7084, 68.2648)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CDA #BEDA5C
analogous
#5C7FDA #785CDA #B75CDA
triadic
#785CDA #DA785C #5CDA78
tetradic
#785CDA #DA5C7F #BEDA5C #5CDAB7
square
#785CDA #DA5C7F #BEDA5C #5CDAB7
split-complementary
#785CDA #DAB75C #7FDA5C
monochromatic
#3D2399 #512ECB #785CDA #A18EE5 #CBC0F1

Accessibility & contrast

On white

4.84
#785CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#785CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785CDA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CDA#FFFFFF#000000##FFFFFF
##785CDA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#046FD7
Tritanopia (blue-blind)
#5A7892
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #785cda;
/* rgb */ color: rgb(120, 92, 218);
/* oklch */ color: oklch(56.8% 0.185 289.4);
Tailwind
colors: {
  custom: {
    50: '#a58be6',
    500: '#785cda',
    950: '#000000',
  },
}
SCSS
$custom: #785cda;
$custom-light: #a58be6;
$custom-dark: #000000;
JSON
{
  "hex": "#785cda",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 253.333,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.1846,
    "h": 289.4
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#785CDA
secondary
#D6E1B1
accent
#CB1BA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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