#785CED#785CED

#785CED is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.2% C 0.208 H 286.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#785CED
RGBrgb(120, 92, 237)
HSLhsl(252, 80%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(49.4%, 61.2%, 0%, 7.1%)
CIE-LABlab(49.20, 47.04, -69.63)
CIE-LCHlch(49.20, 84.03, 304.04°)
OKLaboklab(58.2% 0.0606 -0.1994)
OKLCHoklch(58.2% 0.208 286.9)
XYZxyz(26.8544, 17.7605, 82.1175)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CED #D1ED5C
analogous
#5C89ED #785CED #C05CED
triadic
#785CED #ED785C #5CED78
tetradic
#785CED #ED5C89 #D1ED5C #5CEDC0
square
#785CED #ED5C89 #D1ED5C #5CEDC0
split-complementary
#785CED #EDC05C #89ED5C
monochromatic
#3515BA #4A25E7 #785CED #A693F3 #D3CAF9

Accessibility & contrast

On white

4.61
#785CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#785CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #785CED
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CED#FFFFFF#000000##FFFFFF
##785CED1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#4E7E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #785ced;
/* rgb */ color: rgb(120, 92, 237);
/* oklch */ color: oklch(58.2% 0.208 286.9);
Tailwind
colors: {
  custom: {
    50: '#a88bf4',
    500: '#785ced',
    950: '#000000',
  },
}
SCSS
$custom: #785ced;
$custom-light: #a88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#785ced",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 251.586,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.20841,
    "h": 286.9
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#785CED
secondary
#E2EBB9
accent
#DC09B4
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #785CED

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

Preview Lab → · Contrast checker → · Palette generator →

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