#7742CF#7742CF

#7742CF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.205 H 295.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7742CF
RGBrgb(119, 66, 207)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 68%, 81%)
CMYKcmyk(42.5%, 68.1%, 0%, 18.8%)
CIE-LABlab(41.72, 52.57, -64.72)
CIE-LCHlch(41.72, 83.38, 309.09°)
OKLaboklab(52.07% 0.0888 -0.185)
OKLCHoklch(52.07% 0.205 295.6)
XYZxyz(20.8155, 12.3229, 60.3012)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742CF #9ACF42
analogous
#4253CF #7742CF #BD42CF
triadic
#7742CF #CF7742 #42CF77
tetradic
#7742CF #CF4253 #9ACF42 #42CFBD
square
#7742CF #CF4253 #9ACF42 #42CFBD
split-complementary
#7742CF #CFBD42 #53CF42
monochromatic
#401F78 #5A2BA9 #7742CF #9A73DB #BDA4E8

Accessibility & contrast

On white

6.06
#7742CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7742CF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742CF#FFFFFF#000000##FFFFFF
##7742CF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7742cf;
/* rgb */ color: rgb(119, 66, 207);
/* oklch */ color: oklch(52.1% 0.205 295.6);
Tailwind
colors: {
  custom: {
    50: '#a57adf',
    500: '#7742cf',
    950: '#000000',
  },
}
SCSS
$custom: #7742cf;
$custom-light: #a57adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7742cf",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 262.553,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.20518,
    "h": 295.6
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#7742CF
secondary
#BED598
accent
#E345A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742CF

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

Preview Lab → · Contrast checker → · Palette generator →

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