#7762BF#7762BF

#7762BF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.0% C 0.140 H 291.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7762BF
RGBrgb(119, 98, 191)
HSLhsl(254, 42%, 57%)
HSVhsv(254, 49%, 75%)
CMYKcmyk(37.7%, 48.7%, 0%, 25.1%)
CIE-LABlab(47.52, 30.28, -46.13)
CIE-LCHlch(47.52, 55.19, 303.28°)
OKLaboklab(55.98% 0.0517 -0.1304)
OKLCHoklch(55.98% 0.14 291.6)
XYZxyz(21.3769, 16.4183, 51.3229)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7762BF #AABF62
analogous
#627CBF #7762BF #A562BF
triadic
#7762BF #BF7762 #62BF77
tetradic
#7762BF #BF627C #AABF62 #62BFA5
square
#7762BF #BF627C #AABF62 #62BFA5
split-complementary
#7762BF #BFA562 #7CBF62
monochromatic
#403076 #5842A2 #7762BF #9D8DD1 #C2B9E2

Accessibility & contrast

On white

4.90
#7762BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7762BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7762BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7762BF#FFFFFF#000000##FFFFFF
##7762BF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#657487
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7762bf;
/* rgb */ color: rgb(119, 98, 191);
/* oklch */ color: oklch(56.0% 0.140 291.6);
Tailwind
colors: {
  custom: {
    50: '#a28fd3',
    500: '#7762bf',
    950: '#000000',
  },
}
SCSS
$custom: #7762bf;
$custom-light: #a28fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7762bf",
  "rgb": {
    "r": 119,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 253.548,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.14026,
    "h": 291.6
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#7762BF
secondary
#C9D1AB
accent
#D256B6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7762BF

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

Preview Lab → · Contrast checker → · Palette generator →

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