#7742CE#7742CE

#7742CE is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.204 H 295.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7742CE
RGBrgb(119, 66, 206)
HSLhsl(263, 59%, 53%)
HSVhsv(263, 68%, 81%)
CMYKcmyk(42.2%, 68%, 0%, 19.2%)
CIE-LABlab(41.65, 52.31, -64.26)
CIE-LCHlch(41.65, 82.86, 309.14°)
OKLaboklab(51.99% 0.0889 -0.1836)
OKLCHoklch(51.99% 0.204 295.8)
XYZxyz(20.6936, 12.2741, 59.6594)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742CE #99CE42
analogous
#4253CE #7742CE #BD42CE
triadic
#7742CE #CE7742 #42CE77
tetradic
#7742CE #CE4253 #99CE42 #42CEBD
square
#7742CE #CE4253 #99CE42 #42CEBD
split-complementary
#7742CE #CEBD42 #53CE42
monochromatic
#401F77 #5A2BA7 #7742CE #9A73DB #BDA3E7

Accessibility & contrast

On white

6.08
#7742CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7742CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742CE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742CE#FFFFFF#000000##FFFFFF
##7742CE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#606483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7742ce;
/* rgb */ color: rgb(119, 66, 206);
/* oklch */ color: oklch(52.0% 0.204 295.8);
Tailwind
colors: {
  custom: {
    50: '#a57ade',
    500: '#7742ce',
    950: '#000000',
  },
}
SCSS
$custom: #7742ce;
$custom-light: #a57ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7742ce",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 262.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.20404,
    "h": 295.8
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#7742CE
secondary
#BDD498
accent
#E246A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742CE

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

Preview Lab → · Contrast checker → · Palette generator →

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