#7845DA#7845DA

#7845DA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.214 H 293.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7845DA
RGBrgb(120, 69, 218)
HSLhsl(261, 67%, 56%)
HSVhsv(261, 68%, 85%)
CMYKcmyk(45%, 68.3%, 0%, 14.5%)
CIE-LABlab(43.23, 54.13, -68.58)
CIE-LCHlch(43.23, 87.37, 308.28°)
OKLaboklab(53.44% 0.0855 -0.1963)
OKLCHoklch(53.44% 0.214 293.5)
XYZxyz(22.5253, 13.3106, 67.6985)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7845DA #A7DA45
analogous
#455DDA #7845DA #C345DA
triadic
#7845DA #DA7845 #45DA78
tetradic
#7845DA #DA455D #A7DA45 #45DAC3
square
#7845DA #DA455D #A7DA45 #45DAC3
split-complementary
#7845DA #DAC345 #5DDA45
monochromatic
#411B89 #5925BC #7845DA #9D78E4 #C2ABEE

Accessibility & contrast

On white

5.73
#7845DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7845DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7845DA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7845DA#FFFFFF#000000##FFFFFF
##7845DA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#5C6A8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7845da;
/* rgb */ color: rgb(120, 69, 218);
/* oklch */ color: oklch(53.4% 0.214 293.5);
Tailwind
colors: {
  custom: {
    50: '#a77ce6',
    500: '#7845da',
    950: '#000000',
  },
}
SCSS
$custom: #7845da;
$custom-light: #a77ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7845da",
  "rgb": {
    "r": 120,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 260.537,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.21412,
    "h": 293.5
  },
  "luminance": 0.13311
}

Semantic roles & 50–950 ramp

primary
#7845DA
secondary
#C7DC9F
accent
#EA3EAF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7845DA

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

Preview Lab → · Contrast checker → · Palette generator →

#7845DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva