#7742CD#7742CD

#7742CD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.203 H 296.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7742CD
RGBrgb(119, 66, 205)
HSLhsl(263, 58%, 53%)
HSVhsv(263, 68%, 80%)
CMYKcmyk(42%, 67.8%, 0%, 19.6%)
CIE-LABlab(41.57, 52.05, -63.81)
CIE-LCHlch(41.57, 82.34, 309.20°)
OKLaboklab(51.92% 0.0891 -0.1823)
OKLCHoklch(51.92% 0.203 296)
XYZxyz(20.5725, 12.2257, 59.0217)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742CD #98CD42
analogous
#4252CD #7742CD #BD42CD
triadic
#7742CD #CD7742 #42CD77
tetradic
#7742CD #CD4252 #98CD42 #42CDBD
square
#7742CD #CD4252 #98CD42 #42CDBD
split-complementary
#7742CD #CDBD42 #52CD42
monochromatic
#401F76 #5A2CA6 #7742CD #9A72DA #BDA3E7

Accessibility & contrast

On white

6.10
#7742CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7742CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742CD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742CD#FFFFFF#000000##FFFFFF
##7742CD1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#616482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7742cd;
/* rgb */ color: rgb(119, 66, 205);
/* oklch */ color: oklch(51.9% 0.203 296.0);
Tailwind
colors: {
  custom: {
    50: '#a57add',
    500: '#7742cd',
    950: '#000000',
  },
}
SCSS
$custom: #7742cd;
$custom-light: #a57add;
$custom-dark: #000000;
JSON
{
  "hex": "#7742cd",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 262.878,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51915,
    "c": 0.20291,
    "h": 296
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#7742CD
secondary
#BDD397
accent
#E146A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742CD

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

Preview Lab → · Contrast checker → · Palette generator →

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