#7742CC#7742CC

#7742CC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.202 H 296.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7742CC
RGBrgb(119, 66, 204)
HSLhsl(263, 58%, 53%)
HSVhsv(263, 68%, 80%)
CMYKcmyk(41.7%, 67.6%, 0%, 20%)
CIE-LABlab(41.50, 51.79, -63.35)
CIE-LCHlch(41.50, 81.83, 309.26°)
OKLaboklab(51.84% 0.0892 -0.181)
OKLCHoklch(51.84% 0.202 296.2)
XYZxyz(20.4522, 12.1776, 58.3880)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742CC #97CC42
analogous
#4252CC #7742CC #BC42CC
triadic
#7742CC #CC7742 #42CC77
tetradic
#7742CC #CC4252 #97CC42 #42CCBC
square
#7742CC #CC4252 #97CC42 #42CCBC
split-complementary
#7742CC #CCBC42 #52CC42
monochromatic
#401F74 #5A2CA4 #7742CC #9A72D9 #BCA2E6

Accessibility & contrast

On white

6.11
#7742CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7742CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742CC#FFFFFF#000000##FFFFFF
##7742CC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#616382
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7742cc;
/* rgb */ color: rgb(119, 66, 204);
/* oklch */ color: oklch(51.8% 0.202 296.2);
Tailwind
colors: {
  custom: {
    50: '#a57adc',
    500: '#7742cc',
    950: '#000000',
  },
}
SCSS
$custom: #7742cc;
$custom-light: #a57adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7742cc",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 263.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.20177,
    "h": 296.2
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#7742CC
secondary
#BCD397
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742CC

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

Preview Lab → · Contrast checker → · Palette generator →

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