#7843CF#7843CF

#7843CF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.204 H 295.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7843CF
RGBrgb(120, 67, 207)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 68%, 81%)
CMYKcmyk(42%, 67.6%, 0%, 18.8%)
CIE-LABlab(42.02, 52.25, -64.23)
CIE-LCHlch(42.02, 82.80, 309.13°)
OKLaboklab(52.31% 0.0891 -0.1835)
OKLCHoklch(52.31% 0.204 295.9)
XYZxyz(21.0124, 12.5119, 60.3273)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843CF #9ACF43
analogous
#4354CF #7843CF #BE43CF
triadic
#7843CF #CF7843 #43CF78
tetradic
#7843CF #CF4354 #9ACF43 #43CFBE
square
#7843CF #CF4354 #9ACF43 #43CFBE
split-complementary
#7843CF #CFBE43 #54CF43
monochromatic
#411F79 #5B2BAA #7843CF #9B74DB #BEA5E8

Accessibility & contrast

On white

6.00
#7843CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7843CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843CF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843CF#FFFFFF#000000##FFFFFF
##7843CF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#616584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7843cf;
/* rgb */ color: rgb(120, 67, 207);
/* oklch */ color: oklch(52.3% 0.204 295.9);
Tailwind
colors: {
  custom: {
    50: '#a67bdf',
    500: '#7843cf',
    950: '#000000',
  },
}
SCSS
$custom: #7843cf;
$custom-light: #a67bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7843cf",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 262.714,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.20404,
    "h": 295.9
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#7843CF
secondary
#BED599
accent
#E345A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7843CF

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

Preview Lab → · Contrast checker → · Palette generator →

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