#7762DF#7762DF

#7762DF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.183 H 287.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7762DF
RGBrgb(119, 98, 223)
HSLhsl(250, 66%, 63%)
HSVhsv(250, 56%, 87%)
CMYKcmyk(46.6%, 56.1%, 0%, 12.5%)
CIE-LABlab(49.48, 39.37, -61.30)
CIE-LCHlch(49.48, 72.85, 302.71°)
OKLaboklab(58.07% 0.0534 -0.1749)
OKLCHoklch(58.07% 0.183 287)
XYZxyz(25.2909, 17.9839, 71.9364)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7762DF #CADF62
analogous
#628BDF #7762DF #B562DF
triadic
#7762DF #DF7762 #62DF77
tetradic
#7762DF #DF628B #CADF62 #62DFB5
square
#7762DF #DF628B #CADF62 #62DFB5
split-complementary
#7762DF #DFB562 #8BDF62
monochromatic
#3822A5 #4B2FD5 #7762DF #A395E9 #CFC8F4

Accessibility & contrast

On white

4.57
#7762DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7762DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7762DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7762DF#FFFFFF#000000##000000
##7762DF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1179E3
Deuteranopia (green-blind)
#0F72DC
Tritanopia (blue-blind)
#557E97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7762df;
/* rgb */ color: rgb(119, 98, 223);
/* oklch */ color: oklch(58.1% 0.183 287.0);
Tailwind
colors: {
  custom: {
    50: '#a58fea',
    500: '#7762df',
    950: '#000000',
  },
}
SCSS
$custom: #7762df;
$custom-light: #a58fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7762df",
  "rgb": {
    "r": 119,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 250.08,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.18289,
    "h": 287
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#7762DF
secondary
#DDE5B8
accent
#CE17AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7762DF

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

Preview Lab → · Contrast checker → · Palette generator →

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