#7843CD#7843CD

#7843CD is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.202 H 296.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7843CD
RGBrgb(120, 67, 205)
HSLhsl(263, 58%, 53%)
HSVhsv(263, 67%, 80%)
CMYKcmyk(41.5%, 67.3%, 0%, 19.6%)
CIE-LABlab(41.87, 51.73, -63.32)
CIE-LCHlch(41.87, 81.77, 309.25°)
OKLaboklab(52.15% 0.0894 -0.1809)
OKLCHoklch(52.15% 0.202 296.3)
XYZxyz(20.7694, 12.4147, 59.0478)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843CD #98CD43
analogous
#4353CD #7843CD #BD43CD
triadic
#7843CD #CD7843 #43CD78
tetradic
#7843CD #CD4353 #98CD43 #43CDBD
square
#7843CD #CD4353 #98CD43 #43CDBD
split-complementary
#7843CD #CDBD43 #53CD43
monochromatic
#411F76 #5B2CA7 #7843CD #9B73DA #BDA4E7

Accessibility & contrast

On white

6.03
#7843CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7843CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843CD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843CD#FFFFFF#000000##FFFFFF
##7843CD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7843cd;
/* rgb */ color: rgb(120, 67, 205);
/* oklch */ color: oklch(52.2% 0.202 296.3);
Tailwind
colors: {
  custom: {
    50: '#a57bdd',
    500: '#7843cd',
    950: '#000000',
  },
}
SCSS
$custom: #7843cd;
$custom-light: #a57bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7843cd",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 263.043,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.20176,
    "h": 296.3
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#7843CD
secondary
#BDD498
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7843CD

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

Preview Lab → · Contrast checker → · Palette generator →

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