#7850D3#7850D3

#7850D3 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.192 H 293.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7850D3
RGBrgb(120, 80, 211)
HSLhsl(258, 60%, 57%)
HSVhsv(258, 62%, 83%)
CMYKcmyk(43.1%, 62.1%, 0%, 17.3%)
CIE-LABlab(44.85, 46.43, -61.94)
CIE-LCHlch(44.85, 77.41, 306.85°)
OKLaboklab(54.44% 0.075 -0.1768)
OKLCHoklch(54.44% 0.192 293)
XYZxyz(22.3691, 14.4329, 63.2226)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850D3 #ABD350
analogous
#5069D3 #7850D3 #BA50D3
triadic
#7850D3 #D37850 #50D378
tetradic
#7850D3 #D35069 #ABD350 #50D3BA
square
#7850D3 #D35069 #ABD350 #50D3BA
split-complementary
#7850D3 #D3BA50 #69D350
monochromatic
#412287 #582EB8 #7850D3 #9E81DF #C3B2EC

Accessibility & contrast

On white

5.40
#7850D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7850D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850D3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850D3#FFFFFF#000000##FFFFFF
##7850D31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#5F6E8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7850d3;
/* rgb */ color: rgb(120, 80, 211);
/* oklch */ color: oklch(54.4% 0.192 293.0);
Tailwind
colors: {
  custom: {
    50: '#a583e1',
    500: '#7850d3',
    950: '#000000',
  },
}
SCSS
$custom: #7850d3;
$custom-light: #a583e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7850d3",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 258.321,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.19208,
    "h": 293
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#7850D3
secondary
#CADAA5
accent
#E345B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7850D3

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

Preview Lab → · Contrast checker → · Palette generator →

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