#785CFC#785CFC

#785CFC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.227 H 285.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#785CFC
RGBrgb(120, 92, 252)
HSLhsl(251, 96%, 67%)
HSVhsv(251, 63%, 99%)
CMYKcmyk(52.4%, 63.5%, 0%, 1.2%)
CIE-LABlab(50.30, 51.35, -76.22)
CIE-LCHlch(50.30, 91.90, 303.97°)
OKLaboklab(59.34% 0.0593 -0.2188)
OKLCHoklch(59.34% 0.227 285.2)
XYZxyz(29.1383, 18.6741, 94.1457)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785CFC #E0FC5C
analogous
#5C90FC #785CFC #C85CFC
triadic
#785CFC #FC785C #5CFC78
tetradic
#785CFC #FC5C90 #E0FC5C #5CFCC8
square
#785CFC #FC5C90 #E0FC5C #5CFCC8
split-complementary
#785CFC #FCC85C #90FC5C
monochromatic
#2904DA #4620FB #785CFC #AA98FD #DCD4FE

Accessibility & contrast

On white

4.43
#785CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#785CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785CFC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785CFC#FFFFFF#000000##000000
##785CFC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073F9
Tritanopia (blue-blind)
#4183A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #785cfc;
/* rgb */ color: rgb(120, 92, 252);
/* oklch */ color: oklch(59.3% 0.227 285.2);
Tailwind
colors: {
  custom: {
    50: '#a98cfe',
    500: '#785cfc',
    950: '#000000',
  },
}
SCSS
$custom: #785cfc;
$custom-light: #a98cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#785cfc",
  "rgb": {
    "r": 120,
    "g": 92,
    "b": 252
  },
  "hsl": {
    "h": 250.5,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.22669,
    "h": 285.2
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#785CFC
secondary
#EAF3C1
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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