#7742BA#7742BA

#7742BA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.181 H 300.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7742BA
RGBrgb(119, 66, 186)
HSLhsl(267, 48%, 49%)
HSVhsv(267, 65%, 73%)
CMYKcmyk(36%, 64.5%, 0%, 27.1%)
CIE-LABlab(40.19, 47.15, -54.99)
CIE-LCHlch(40.19, 72.44, 310.61°)
OKLaboklab(50.48% 0.0913 -0.1564)
OKLCHoklch(50.48% 0.181 300.3)
XYZxyz(18.4167, 11.3634, 47.6679)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742BA #85BA42
analogous
#4249BA #7742BA #B342BA
triadic
#7742BA #BA7742 #42BA77
tetradic
#7742BA #BA4249 #85BA42 #42BAB3
square
#7742BA #BA4249 #85BA42 #42BAB3
split-complementary
#7742BA #BAB342 #49BA42
monochromatic
#3D2260 #5A328D #7742BA #976ECB #B79BDB

Accessibility & contrast

On white

6.42
#7742BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7742BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742BA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742BA#FFFFFF#000000##FFFFFF
##7742BA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#095EB7
Tritanopia (blue-blind)
#685D78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7742ba;
/* rgb */ color: rgb(119, 66, 186);
/* oklch */ color: oklch(50.5% 0.181 300.3);
Tailwind
colors: {
  custom: {
    50: '#a379cf',
    500: '#7742ba',
    950: '#000000',
  },
}
SCSS
$custom: #7742ba;
$custom-light: #a379cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7742ba",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 266.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.1811,
    "h": 300.3
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#7742BA
secondary
#AFC890
accent
#D7519C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7742BA

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

Preview Lab → · Contrast checker → · Palette generator →

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