#7845D0#7845D0

#7845D0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.203 H 295.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7845D0
RGBrgb(120, 69, 208)
HSLhsl(262, 60%, 54%)
HSVhsv(262, 67%, 82%)
CMYKcmyk(42.3%, 66.8%, 0%, 18.4%)
CIE-LABlab(42.46, 51.49, -64.09)
CIE-LCHlch(42.46, 82.21, 308.78°)
OKLaboklab(52.65% 0.087 -0.1831)
OKLCHoklch(52.65% 0.203 295.4)
XYZxyz(21.2560, 12.8029, 61.0136)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7845D0 #9DD045
analogous
#4558D0 #7845D0 #BD45D0
triadic
#7845D0 #D07845 #45D078
tetradic
#7845D0 #D04558 #9DD045 #45D0BD
square
#7845D0 #D04558 #9DD045 #45D0BD
split-complementary
#7845D0 #D0BD45 #58D045
monochromatic
#411F7B #5B2CAC #7845D0 #9B76DC #BFA7E9

Accessibility & contrast

On white

5.90
#7845D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7845D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7845D0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7845D0#FFFFFF#000000##FFFFFF
##7845D01.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#616685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7845d0;
/* rgb */ color: rgb(120, 69, 208);
/* oklch */ color: oklch(52.6% 0.203 295.4);
Tailwind
colors: {
  custom: {
    50: '#a67cdf',
    500: '#7845d0',
    950: '#000000',
  },
}
SCSS
$custom: #7845d0;
$custom-light: #a67cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7845d0",
  "rgb": {
    "r": 120,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 262.014,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.20271,
    "h": 295.4
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#7845D0
secondary
#C0D69B
accent
#E345A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7845D0

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

Preview Lab → · Contrast checker → · Palette generator →

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