#765AEC#765AEC

#765AEC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.6% C 0.210 H 286.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#765AEC
RGBrgb(118, 90, 236)
HSLhsl(252, 79%, 64%)
HSVhsv(252, 62%, 93%)
CMYKcmyk(50%, 61.9%, 0%, 7.5%)
CIE-LABlab(48.53, 47.50, -70.16)
CIE-LCHlch(48.53, 84.73, 304.10°)
OKLaboklab(57.64% 0.0601 -0.201)
OKLCHoklch(57.64% 0.21 286.6)
XYZxyz(26.2632, 17.2187, 81.2803)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AEC #D0EC5A
analogous
#5A87EC #765AEC #BF5AEC
triadic
#765AEC #EC765A #5AEC76
tetradic
#765AEC #EC5A87 #D0EC5A #5AECBF
square
#765AEC #EC5A87 #D0EC5A #5AECBF
split-complementary
#765AEC #ECBF5A #87EC5A
monochromatic
#3415B7 #4823E6 #765AEC #A491F2 #D1C8F9

Accessibility & contrast

On white

4.73
#765AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#765AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AEC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AEC#FFFFFF#000000##FFFFFF
##765AEC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#4B7D9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765aec;
/* rgb */ color: rgb(118, 90, 236);
/* oklch */ color: oklch(57.6% 0.210 286.6);
Tailwind
colors: {
  custom: {
    50: '#a68af3',
    500: '#765aec',
    950: '#000000',
  },
}
SCSS
$custom: #765aec;
$custom-light: #a68af3;
$custom-dark: #000000;
JSON
{
  "hex": "#765aec",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 251.507,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.20984,
    "h": 286.6
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#765AEC
secondary
#E1EBB7
accent
#DC0AB3
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765AEC

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

Preview Lab → · Contrast checker → · Palette generator →

#765AEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva