#7742CB#7742CB

#7742CB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.201 H 296.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7742CB
RGBrgb(119, 66, 203)
HSLhsl(263, 57%, 53%)
HSVhsv(263, 67%, 80%)
CMYKcmyk(41.4%, 67.5%, 0%, 20.4%)
CIE-LABlab(41.42, 51.53, -62.90)
CIE-LCHlch(41.42, 81.31, 309.33°)
OKLaboklab(51.76% 0.0893 -0.1796)
OKLCHoklch(51.76% 0.201 296.4)
XYZxyz(20.3326, 12.1298, 57.7584)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7742CB #96CB42
analogous
#4251CB #7742CB #BC42CB
triadic
#7742CB #CB7742 #42CB77
tetradic
#7742CB #CB4251 #96CB42 #42CBBC
square
#7742CB #CB4251 #96CB42 #42CBBC
split-complementary
#7742CB #CBBC42 #51CB42
monochromatic
#402073 #5B2DA3 #7742CB #9A72D8 #BCA2E5

Accessibility & contrast

On white

6.13
#7742CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7742CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7742CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7742CB#FFFFFF#000000##FFFFFF
##7742CB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#616381
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7742cb;
/* rgb */ color: rgb(119, 66, 203);
/* oklch */ color: oklch(51.8% 0.201 296.4);
Tailwind
colors: {
  custom: {
    50: '#a57adc',
    500: '#7742cb',
    950: '#000000',
  },
}
SCSS
$custom: #7742cb;
$custom-light: #a57adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7742cb",
  "rgb": {
    "r": 119,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 263.212,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.20063,
    "h": 296.4
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#7742CB
secondary
#BBD297
accent
#E048A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7742CB

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

Preview Lab → · Contrast checker → · Palette generator →

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