#7762CF#7762CF

#7762CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.162 H 289.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7762CF
RGBrgb(119, 98, 207)
HSLhsl(252, 53%, 60%)
HSVhsv(252, 53%, 81%)
CMYKcmyk(42.5%, 52.7%, 0%, 18.8%)
CIE-LABlab(48.46, 34.78, -53.83)
CIE-LCHlch(48.46, 64.09, 302.87°)
OKLaboklab(56.99% 0.0529 -0.153)
OKLCHoklch(56.99% 0.162 289.1)
XYZxyz(23.2348, 17.1615, 61.1077)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7762CF #BACF62
analogous
#6283CF #7762CF #AE62CF
triadic
#7762CF #CF7762 #62CF77
tetradic
#7762CF #CF6283 #BACF62 #62CFAE
square
#7762CF #CF6283 #BACF62 #62CFAE
split-complementary
#7762CF #CFAE62 #83CF62
monochromatic
#3D2B8C #5239BB #7762CF #A091DD #C8C0EC

Accessibility & contrast

On white

4.74
#7762CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7762CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7762CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7762CF#FFFFFF#000000##FFFFFF
##7762CF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#3170CD
Tritanopia (blue-blind)
#5D798F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7762cf;
/* rgb */ color: rgb(119, 98, 207);
/* oklch */ color: oklch(57.0% 0.162 289.1);
Tailwind
colors: {
  custom: {
    50: '#a38fde',
    500: '#7762cf',
    950: '#000000',
  },
}
SCSS
$custom: #7762cf;
$custom-light: #a38fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7762cf",
  "rgb": {
    "r": 119,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 251.56,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.16187,
    "h": 289.1
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#7762CF
secondary
#D3DBB1
accent
#DD4BC1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7762CF

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

Preview Lab → · Contrast checker → · Palette generator →

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