#765AEA#765AEA

#765AEA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.207 H 286.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#765AEA
RGBrgb(118, 90, 234)
HSLhsl(252, 77%, 64%)
HSVhsv(252, 62%, 92%)
CMYKcmyk(49.6%, 61.5%, 0%, 8.2%)
CIE-LABlab(48.39, 46.93, -69.27)
CIE-LCHlch(48.39, 83.67, 304.11°)
OKLaboklab(57.49% 0.0602 -0.1984)
OKLCHoklch(57.49% 0.207 286.9)
XYZxyz(25.9743, 17.1032, 79.7586)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AEA #CEEA5A
analogous
#5A86EA #765AEA #BE5AEA
triadic
#765AEA #EA765A #5AEA76
tetradic
#765AEA #EA5A86 #CEEA5A #5AEABE
square
#765AEA #EA5A86 #CEEA5A #5AEABE
split-complementary
#765AEA #EABE5A #86EA5A
monochromatic
#3517B3 #4924E3 #765AEA #A390F1 #D0C7F8

Accessibility & contrast

On white

4.75
#765AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#765AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AEA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AEA#FFFFFF#000000##FFFFFF
##765AEA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#4C7C9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765aea;
/* rgb */ color: rgb(118, 90, 234);
/* oklch */ color: oklch(57.5% 0.207 286.9);
Tailwind
colors: {
  custom: {
    50: '#a68af2',
    500: '#765aea',
    950: '#000000',
  },
}
SCSS
$custom: #765aea;
$custom-light: #a68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#765aea",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 251.667,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57491,
    "c": 0.20737,
    "h": 286.9
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#765AEA
secondary
#DFE9B6
accent
#DA0CB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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