#7850CD#7850CD

#7850CD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.185 H 294.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7850CD
RGBrgb(120, 80, 205)
HSLhsl(259, 56%, 56%)
HSVhsv(259, 61%, 80%)
CMYKcmyk(41.5%, 61%, 0%, 19.6%)
CIE-LABlab(44.43, 44.80, -59.17)
CIE-LCHlch(44.43, 74.22, 307.13°)
OKLaboklab(54% 0.0754 -0.1687)
OKLCHoklch(54% 0.185 294.1)
XYZxyz(21.6309, 14.1376, 59.3349)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850CD #A5CD50
analogous
#5066CD #7850CD #B650CD
triadic
#7850CD #CD7850 #50CD78
tetradic
#7850CD #CD5066 #A5CD50 #50CDB6
square
#7850CD #CD5066 #A5CD50 #50CDB6
split-complementary
#7850CD #CDB650 #66CD50
monochromatic
#41247E #5A32AE #7850CD #9D80DB #C1AFE8

Accessibility & contrast

On white

5.49
#7850CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7850CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850CD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850CD#FFFFFF#000000##FFFFFF
##7850CD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#616C87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7850cd;
/* rgb */ color: rgb(120, 80, 205);
/* oklch */ color: oklch(54.0% 0.185 294.1);
Tailwind
colors: {
  custom: {
    50: '#a583dd',
    500: '#7850cd',
    950: '#000000',
  },
}
SCSS
$custom: #7850cd;
$custom-light: #a583dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7850cd",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 259.2,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.18475,
    "h": 294.1
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#7850CD
secondary
#C6D6A2
accent
#DF49AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7850CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7850CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva