#7762BB#7762BB

#7762BB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.7% C 0.135 H 292.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7762BB
RGBrgb(119, 98, 187)
HSLhsl(254, 40%, 56%)
HSVhsv(254, 48%, 73%)
CMYKcmyk(36.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(47.29, 29.18, -44.17)
CIE-LCHlch(47.29, 52.94, 303.44°)
OKLaboklab(55.74% 0.0512 -0.1247)
OKLCHoklch(55.74% 0.135 292.3)
XYZxyz(20.9427, 16.2447, 49.0362)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7762BB #A6BB62
analogous
#6279BB #7762BB #A362BB
triadic
#7762BB #BB7762 #62BB77
tetradic
#7762BB #BB6279 #A6BB62 #62BBA3
square
#7762BB #BB6279 #A6BB62 #62BBA3
split-complementary
#7762BB #BBA362 #79BB62
monochromatic
#403171 #59449C #7762BB #9C8DCD #C1B7E0

Accessibility & contrast

On white

4.94
#7762BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7762BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7762BB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7762BB#FFFFFF#000000##FFFFFF
##7762BB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#667385
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7762bb;
/* rgb */ color: rgb(119, 98, 187);
/* oklch */ color: oklch(55.7% 0.135 292.3);
Tailwind
colors: {
  custom: {
    50: '#a18fd0',
    500: '#7762bb',
    950: '#000000',
  },
}
SCSS
$custom: #7762bb;
$custom-light: #a18fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7762bb",
  "rgb": {
    "r": 119,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 254.157,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.13476,
    "h": 292.3
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#7762BB
secondary
#C6CFAA
accent
#CF58B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7762BB

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

Preview Lab → · Contrast checker → · Palette generator →

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