#7742BE#7742BE

#7742BE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.186 H 299.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7742BE
RGBrgb(119, 66, 190)
HSLhsl(266, 49%, 50%)
HSVhsv(266, 65%, 75%)
CMYKcmyk(37.4%, 65.3%, 0%, 25.5%)
CIE-LABlab(40.47, 48.17, -56.88)
CIE-LCHlch(40.47, 74.54, 310.26°)
OKLaboklab(50.78% 0.091 -0.1619)
OKLCHoklch(50.78% 0.186 299.3)
XYZxyz(18.8479, 11.5359, 49.9389)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742BE #89BE42
analogous
#424BBE #7742BE #B542BE
triadic
#7742BE #BE7742 #42BE77
tetradic
#7742BE #BE424B #89BE42 #42BEB5
square
#7742BE #BE424B #89BE42 #42BEB5
split-complementary
#7742BE #BEB542 #4BBE42
monochromatic
#3E2263 #5A3291 #7742BE #9870CE #B99DDD

Accessibility & contrast

On white

6.35
#7742BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7742BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742BE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742BE#FFFFFF#000000##FFFFFF
##7742BE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#675E7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7742be;
/* rgb */ color: rgb(119, 66, 190);
/* oklch */ color: oklch(50.8% 0.186 299.3);
Tailwind
colors: {
  custom: {
    50: '#a37ad2',
    500: '#7742be',
    950: '#000000',
  },
}
SCSS
$custom: #7742be;
$custom-light: #a37ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7742be",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 265.645,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.18573,
    "h": 299.3
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#7742BE
secondary
#B2CA92
accent
#D84F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7742BE

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

Preview Lab → · Contrast checker → · Palette generator →

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