#765AE3#765AE3

#765AE3 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.199 H 287.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#765AE3
RGBrgb(118, 90, 227)
HSLhsl(252, 71%, 62%)
HSVhsv(252, 60%, 89%)
CMYKcmyk(48%, 60.4%, 0%, 11%)
CIE-LABlab(47.89, 44.92, -66.13)
CIE-LCHlch(47.89, 79.94, 304.18°)
OKLaboklab(56.97% 0.0607 -0.1892)
OKLCHoklch(56.97% 0.199 287.8)
XYZxyz(24.9885, 16.7088, 74.5666)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AE3 #C7E35A
analogous
#5A83E3 #765AE3 #BB5AE3
triadic
#765AE3 #E3765A #5AE376
tetradic
#765AE3 #E35A83 #C7E35A #5AE3BB
square
#765AE3 #E35A83 #C7E35A #5AE3BB
split-complementary
#765AE3 #E3BB5A #83E35A
monochromatic
#381CA6 #4B26DA #765AE3 #A18EEC #CDC3F5

Accessibility & contrast

On white

4.84
#765AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#765AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AE3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AE3#FFFFFF#000000##FFFFFF
##765AE31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#517A96
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765ae3;
/* rgb */ color: rgb(118, 90, 227);
/* oklch */ color: oklch(57.0% 0.199 287.8);
Tailwind
colors: {
  custom: {
    50: '#a58aed',
    500: '#765ae3',
    950: '#000000',
  },
}
SCSS
$custom: #765ae3;
$custom-light: #a58aed;
$custom-dark: #000000;
JSON
{
  "hex": "#765ae3",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 252.263,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.19869,
    "h": 287.8
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#765AE3
secondary
#DBE6B3
accent
#D312AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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