#7742DF#7742DF

#7742DF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.223 H 292.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7742DF
RGBrgb(119, 66, 223)
HSLhsl(260, 71%, 57%)
HSVhsv(260, 70%, 87%)
CMYKcmyk(46.6%, 70.4%, 0%, 12.5%)
CIE-LABlab(42.98, 56.77, -71.85)
CIE-LCHlch(42.98, 91.57, 308.31°)
OKLaboklab(53.36% 0.086 -0.2059)
OKLCHoklch(53.36% 0.223 292.7)
XYZxyz(22.8715, 13.1453, 71.1300)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742DF #AADF42
analogous
#425CDF #7742DF #C642DF
triadic
#7742DF #DF7742 #42DF77
tetradic
#7742DF #DF425C #AADF42 #42DFC6
square
#7742DF #DF425C #AADF42 #42DFC6
split-complementary
#7742DF #DFC642 #5CDF42
monochromatic
#40188E #5821C3 #7742DF #9D76E8 #C2ABF1

Accessibility & contrast

On white

5.79
#7742DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7742DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742DF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742DF#FFFFFF#000000##FFFFFF
##7742DF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#576A8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7742df;
/* rgb */ color: rgb(119, 66, 223);
/* oklch */ color: oklch(53.4% 0.223 292.7);
Tailwind
colors: {
  custom: {
    50: '#a77bea',
    500: '#7742df',
    950: '#000000',
  },
}
SCSS
$custom: #7742df;
$custom-light: #a77bea;
$custom-dark: #000000;
JSON
{
  "hex": "#7742df",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 260.255,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.22315,
    "h": 292.7
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#7742DF
secondary
#C9DF9E
accent
#EE3AB1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7742DF

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

Preview Lab → · Contrast checker → · Palette generator →

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