#7742C8#7742C8

#7742C8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.197 H 297.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7742C8
RGBrgb(119, 66, 200)
HSLhsl(264, 55%, 52%)
HSVhsv(264, 67%, 78%)
CMYKcmyk(40.5%, 67%, 0%, 21.6%)
CIE-LABlab(41.20, 50.75, -61.52)
CIE-LCHlch(41.20, 79.75, 309.52°)
OKLaboklab(51.53% 0.0898 -0.1756)
OKLCHoklch(51.53% 0.197 297.1)
XYZxyz(19.9786, 11.9881, 55.8937)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742C8 #93C842
analogous
#4250C8 #7742C8 #BA42C8
triadic
#7742C8 #C87742 #42C877
tetradic
#7742C8 #C84250 #93C842 #42C8BA
square
#7742C8 #C84250 #93C842 #42C8BA
split-complementary
#7742C8 #C8BA42 #50C842
monochromatic
#40206F #5B2E9F #7742C8 #9971D6 #BBA1E4

Accessibility & contrast

On white

6.18
#7742C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7742C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742C8#FFFFFF#000000##FFFFFF
##7742C81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#636280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7742c8;
/* rgb */ color: rgb(119, 66, 200);
/* oklch */ color: oklch(51.5% 0.197 297.1);
Tailwind
colors: {
  custom: {
    50: '#a47ada',
    500: '#7742c8',
    950: '#000000',
  },
}
SCSS
$custom: #7742c8;
$custom-light: #a47ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7742c8",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 263.731,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.19721,
    "h": 297.1
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#7742C8
secondary
#B9D096
accent
#DE4AA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742C8

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

Preview Lab → · Contrast checker → · Palette generator →

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