#7843CE#7843CE

#7843CE is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.203 H 296.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7843CE
RGBrgb(120, 67, 206)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 67%, 81%)
CMYKcmyk(41.7%, 67.5%, 0%, 19.2%)
CIE-LABlab(41.94, 51.99, -63.78)
CIE-LCHlch(41.94, 82.29, 309.19°)
OKLaboklab(52.23% 0.0893 -0.1822)
OKLCHoklch(52.23% 0.203 296.1)
XYZxyz(20.8905, 12.4632, 59.6855)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843CE #99CE43
analogous
#4353CE #7843CE #BE43CE
triadic
#7843CE #CE7843 #43CE78
tetradic
#7843CE #CE4353 #99CE43 #43CEBE
square
#7843CE #CE4353 #99CE43 #43CEBE
split-complementary
#7843CE #CEBE43 #53CE43
monochromatic
#411F77 #5B2CA8 #7843CE #9B74DB #BEA4E7

Accessibility & contrast

On white

6.01
#7843CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7843CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843CE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843CE#FFFFFF#000000##FFFFFF
##7843CE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#626483
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7843ce;
/* rgb */ color: rgb(120, 67, 206);
/* oklch */ color: oklch(52.2% 0.203 296.1);
Tailwind
colors: {
  custom: {
    50: '#a67bde',
    500: '#7843ce',
    950: '#000000',
  },
}
SCSS
$custom: #7843ce;
$custom-light: #a67bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7843ce",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 262.878,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.2029,
    "h": 296.1
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#7843CE
secondary
#BDD499
accent
#E246A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7843CE

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

Preview Lab → · Contrast checker → · Palette generator →

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