#7742CA#7742CA

#7742CA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.199 H 296.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7742CA
RGBrgb(119, 66, 202)
HSLhsl(263, 56%, 53%)
HSVhsv(263, 67%, 79%)
CMYKcmyk(41.1%, 67.3%, 0%, 20.8%)
CIE-LABlab(41.35, 51.27, -62.44)
CIE-LCHlch(41.35, 80.79, 309.39°)
OKLaboklab(51.68% 0.0895 -0.1783)
OKLCHoklch(51.68% 0.199 296.7)
XYZxyz(20.2139, 12.0822, 57.1328)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742CA #95CA42
analogous
#4251CA #7742CA #BB42CA
triadic
#7742CA #CA7742 #42CA77
tetradic
#7742CA #CA4251 #95CA42 #42CABB
square
#7742CA #CA4251 #95CA42 #42CABB
split-complementary
#7742CA #CABB42 #51CA42
monochromatic
#402072 #5B2DA2 #7742CA #9972D7 #BCA2E5

Accessibility & contrast

On white

6.15
#7742CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7742CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742CA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742CA#FFFFFF#000000##FFFFFF
##7742CA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#626281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7742ca;
/* rgb */ color: rgb(119, 66, 202);
/* oklch */ color: oklch(51.7% 0.199 296.7);
Tailwind
colors: {
  custom: {
    50: '#a57adb',
    500: '#7742ca',
    950: '#000000',
  },
}
SCSS
$custom: #7742ca;
$custom-light: #a57adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7742ca",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 263.382,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.19949,
    "h": 296.7
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#7742CA
secondary
#BAD196
accent
#DF48A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742CA

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

Preview Lab → · Contrast checker → · Palette generator →

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