#7846CF#7846CF

#7846CF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.200 H 295.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7846CF
RGBrgb(120, 70, 207)
HSLhsl(262, 59%, 54%)
HSVhsv(262, 66%, 81%)
CMYKcmyk(42%, 66.2%, 0%, 18.8%)
CIE-LABlab(42.58, 50.71, -63.32)
CIE-LCHlch(42.58, 81.13, 308.69°)
OKLaboklab(52.71% 0.0861 -0.1809)
OKLCHoklch(52.71% 0.2 295.4)
XYZxyz(21.1954, 12.8779, 60.3883)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846CF #9DCF46
analogous
#4659CF #7846CF #BD46CF
triadic
#7846CF #CF7846 #46CF78
tetradic
#7846CF #CF4659 #9DCF46 #46CFBD
square
#7846CF #CF4659 #9DCF46 #46CFBD
split-complementary
#7846CF #CFBD46 #59CF46
monochromatic
#41207B #5B2CAB #7846CF #9B77DC #BFA7E8

Accessibility & contrast

On white

5.87
#7846CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7846CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846CF#FFFFFF#000000##FFFFFF
##7846CF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#616785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7846cf;
/* rgb */ color: rgb(120, 70, 207);
/* oklch */ color: oklch(52.7% 0.200 295.4);
Tailwind
colors: {
  custom: {
    50: '#a57ddf',
    500: '#7846cf',
    950: '#000000',
  },
}
SCSS
$custom: #7846cf;
$custom-light: #a57ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7846cf",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 261.898,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.2003,
    "h": 295.4
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#7846CF
secondary
#C0D59B
accent
#E246A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7846CF

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

Preview Lab → · Contrast checker → · Palette generator →

#7846CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva