#765AF6#765AF6

#765AF6 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.222 H 285.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#765AF6
RGBrgb(118, 90, 246)
HSLhsl(251, 90%, 66%)
HSVhsv(251, 63%, 96%)
CMYKcmyk(52%, 63.4%, 0%, 3.5%)
CIE-LABlab(49.27, 50.38, -74.56)
CIE-LCHlch(49.27, 89.99, 304.05°)
OKLaboklab(58.41% 0.0592 -0.214)
OKLCHoklch(58.41% 0.222 285.5)
XYZxyz(27.7569, 17.8162, 89.1472)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AF6 #DAF65A
analogous
#5A8CF6 #765AF6 #C45AF6
triadic
#765AF6 #F6765A #5AF676
tetradic
#765AF6 #F65A8C #DAF65A #5AF6C4
square
#765AF6 #F65A8C #DAF65A #5AF6C4
split-complementary
#765AF6 #F6C45A #8CF65A
monochromatic
#2D0BCB #4620F3 #765AF6 #A694F9 #D6CEFC

Accessibility & contrast

On white

4.60
#765AF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#765AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #765AF6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AF6#FFFFFF#000000##FFFFFF
##765AF61.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#4280A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #765af6;
/* rgb */ color: rgb(118, 90, 246);
/* oklch */ color: oklch(58.4% 0.222 285.5);
Tailwind
colors: {
  custom: {
    50: '#a88afa',
    500: '#765af6',
    950: '#000000',
  },
}
SCSS
$custom: #765af6;
$custom-light: #a88afa;
$custom-dark: #000000;
JSON
{
  "hex": "#765af6",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 250.769,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.22203,
    "h": 285.5
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#765AF6
secondary
#E6F0BC
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #765AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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