#765AE1#765AE1

#765AE1 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.196 H 288.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#765AE1
RGBrgb(118, 90, 225)
HSLhsl(252, 69%, 62%)
HSVhsv(252, 60%, 88%)
CMYKcmyk(47.6%, 60%, 0%, 11.8%)
CIE-LABlab(47.75, 44.34, -65.23)
CIE-LCHlch(47.75, 78.87, 304.21°)
OKLaboklab(56.82% 0.0608 -0.1865)
OKLCHoklch(56.82% 0.196 288)
XYZxyz(24.7141, 16.5991, 73.1213)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AE1 #C5E15A
analogous
#5A82E1 #765AE1 #B95AE1
triadic
#765AE1 #E1765A #5AE176
tetradic
#765AE1 #E15A82 #C5E15A #5AE1B9
square
#765AE1 #E15A82 #C5E15A #5AE1B9
split-complementary
#765AE1 #E1B95A #82E15A
monochromatic
#391EA3 #4B27D7 #765AE1 #A18EEA #CCC2F4

Accessibility & contrast

On white

4.86
#765AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#765AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AE1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AE1#FFFFFF#000000##FFFFFF
##765AE11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#527995
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765ae1;
/* rgb */ color: rgb(118, 90, 225);
/* oklch */ color: oklch(56.8% 0.196 288.0);
Tailwind
colors: {
  custom: {
    50: '#a58aeb',
    500: '#765ae1',
    950: '#000000',
  },
}
SCSS
$custom: #765ae1;
$custom-light: #a58aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#765ae1",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 252.444,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.19619,
    "h": 288
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#765AE1
secondary
#DAE4B2
accent
#D114AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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