#7844CB#7844CB

#7844CB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.198 H 296.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7844CB
RGBrgb(120, 68, 203)
HSLhsl(263, 56%, 53%)
HSVhsv(263, 67%, 80%)
CMYKcmyk(40.9%, 66.5%, 0%, 20.4%)
CIE-LABlab(41.91, 50.70, -62.11)
CIE-LCHlch(41.91, 80.17, 309.22°)
OKLaboklab(52.13% 0.0887 -0.1773)
OKLCHoklch(52.13% 0.198 296.6)
XYZxyz(20.5895, 12.4387, 57.8045)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844CB #97CB44
analogous
#4453CB #7844CB #BB44CB
triadic
#7844CB #CB7844 #44CB78
tetradic
#7844CB #CB4453 #97CB44 #44CBBB
square
#7844CB #CB4453 #97CB44 #44CBBB
split-complementary
#7844CB #CBBB44 #53CB44
monochromatic
#412074 #5B2EA4 #7844CB #9B74D8 #BDA4E6

Accessibility & contrast

On white

6.02
#7844CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7844CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844CB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844CB#FFFFFF#000000##FFFFFF
##7844CB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#636482
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7844cb;
/* rgb */ color: rgb(120, 68, 203);
/* oklch */ color: oklch(52.1% 0.198 296.6);
Tailwind
colors: {
  custom: {
    50: '#a57bdc',
    500: '#7844cb',
    950: '#000000',
  },
}
SCSS
$custom: #7844cb;
$custom-light: #a57bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7844cb",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 263.111,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.19822,
    "h": 296.6
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#7844CB
secondary
#BCD398
accent
#E048A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7844CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7844CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva