#7843F4#7843F4

#7843F4 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.245 H 289.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7843F4
RGBrgb(120, 67, 244)
HSLhsl(258, 89%, 61%)
HSVhsv(258, 73%, 96%)
CMYKcmyk(50.8%, 72.5%, 0%, 4.3%)
CIE-LABlab(44.99, 61.99, -80.43)
CIE-LCHlch(44.99, 101.54, 307.62°)
OKLaboklab(55.34% 0.0821 -0.2311)
OKLCHoklch(55.34% 0.245 289.6)
XYZxyz(26.0773, 14.5379, 87.0025)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843F4 #BFF443
analogous
#4366F4 #7843F4 #D043F4
triadic
#7843F4 #F47843 #43F478
tetradic
#7843F4 #F44366 #BFF443 #43F4D0
square
#7843F4 #F44366 #BFF443 #43F4D0
split-complementary
#7843F4 #F4D043 #66F443
monochromatic
#3D0AB2 #500EEC #7843F4 #A27DF7 #CBB7FB

Accessibility & contrast

On white

5.37
#7843F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7843F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843F4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843F4#FFFFFF#000000##FFFFFF
##7843F41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF9
Deuteranopia (green-blind)
#0066F1
Tritanopia (blue-blind)
#4B7398
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7843f4;
/* rgb */ color: rgb(120, 67, 244);
/* oklch */ color: oklch(55.3% 0.245 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa7cf9',
    500: '#7843f4',
    950: '#000000',
  },
}
SCSS
$custom: #7843f4;
$custom-light: #aa7cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7843f4",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 244
  },
  "hsl": {
    "h": 257.966,
    "s": 88.945,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.24522,
    "h": 289.6
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#7843F4
secondary
#D7EBA8
accent
#E600A1
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7843F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7843F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva