#7846FD#7846FD

#7846FD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.252 H 288.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7846FD
RGBrgb(120, 70, 253)
HSLhsl(256, 98%, 63%)
HSVhsv(256, 72%, 99%)
CMYKcmyk(52.6%, 72.3%, 0%, 0.8%)
CIE-LABlab(46.26, 62.97, -83.38)
CIE-LCHlch(46.26, 104.49, 307.06°)
OKLaboklab(56.47% 0.0777 -0.2397)
OKLCHoklch(56.47% 0.252 288)
XYZxyz(27.6603, 15.4639, 94.4368)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846FD #CBFD46
analogous
#4670FD #7846FD #D346FD
triadic
#7846FD #FD7846 #46FD78
tetradic
#7846FD #FD4670 #CBFD46 #46FDD3
square
#7846FD #FD4670 #CBFD46 #46FDD3
split-complementary
#7846FD #FDD346 #70FD46
monochromatic
#3802C6 #4C09FC #7846FD #A483FE #D0BFFE

Accessibility & contrast

On white

5.13
#7846FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7846FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846FD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846FD#FFFFFF#000000##FFFFFF
##7846FD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0069FA
Tritanopia (blue-blind)
#43789E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7846fd;
/* rgb */ color: rgb(120, 70, 253);
/* oklch */ color: oklch(56.5% 0.252 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab7eff',
    500: '#7846fd',
    950: '#000000',
  },
}
SCSS
$custom: #7846fd;
$custom-light: #ab7eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7846fd",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 253
  },
  "hsl": {
    "h": 256.393,
    "s": 97.861,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.25204,
    "h": 288
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#7846FD
secondary
#DEF0AF
accent
#E600A7
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7846FD

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

Preview Lab → · Contrast checker → · Palette generator →

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