#7762CA#7762CA

#7762CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.7% C 0.155 H 289.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7762CA
RGBrgb(119, 98, 202)
HSLhsl(252, 50%, 59%)
HSVhsv(252, 51%, 79%)
CMYKcmyk(41.1%, 51.5%, 0%, 20.8%)
CIE-LABlab(48.16, 33.36, -51.45)
CIE-LCHlch(48.16, 61.32, 302.96°)
OKLaboklab(56.67% 0.0526 -0.146)
OKLCHoklch(56.67% 0.155 289.8)
XYZxyz(22.6332, 16.9209, 57.9392)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7762CA #B5CA62
analogous
#6281CA #7762CA #AB62CA
triadic
#7762CA #CA7762 #62CA77
tetradic
#7762CA #CA6281 #B5CA62 #62CAAB
square
#7762CA #CA6281 #B5CA62 #62CAAB
split-complementary
#7762CA #CAAB62 #81CA62
monochromatic
#3F2D85 #543CB3 #7762CA #9F90D9 #C6BEE9

Accessibility & contrast

On white

4.79
#7762CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7762CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7762CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7762CA#FFFFFF#000000##FFFFFF
##7762CA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#60788D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7762ca;
/* rgb */ color: rgb(119, 98, 202);
/* oklch */ color: oklch(56.7% 0.155 289.8);
Tailwind
colors: {
  custom: {
    50: '#a38fdb',
    500: '#7762ca',
    950: '#000000',
  },
}
SCSS
$custom: #7762ca;
$custom-light: #a38fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7762ca",
  "rgb": {
    "r": 119,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 252.115,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.15517,
    "h": 289.8
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#7762CA
secondary
#D0D8AF
accent
#D94FBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7762CA

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

Preview Lab → · Contrast checker → · Palette generator →

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