#765AF1#765AF1

#765AF1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.0% C 0.216 H 286.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#765AF1
RGBrgb(118, 90, 241)
HSLhsl(251, 84%, 65%)
HSVhsv(251, 63%, 95%)
CMYKcmyk(51%, 62.7%, 0%, 5.5%)
CIE-LABlab(48.90, 48.94, -72.37)
CIE-LCHlch(48.90, 87.37, 304.07°)
OKLaboklab(58.02% 0.0597 -0.2075)
OKLCHoklch(58.02% 0.216 286)
XYZxyz(26.9998, 17.5134, 85.1598)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AF1 #D5F15A
analogous
#5A89F1 #765AF1 #C25AF1
triadic
#765AF1 #F1765A #5AF176
tetradic
#765AF1 #F15A89 #D5F15A #5AF1C2
square
#765AF1 #F15A89 #D5F15A #5AF1C2
split-complementary
#765AF1 #F1C25A #89F15A
monochromatic
#3110C0 #4722EC #765AF1 #A592F6 #D4CBFB

Accessibility & contrast

On white

4.66
#765AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#765AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #765AF1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AF1#FFFFFF#000000##FFFFFF
##765AF11.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#0070EE
Tritanopia (blue-blind)
#477F9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765af1;
/* rgb */ color: rgb(118, 90, 241);
/* oklch */ color: oklch(58.0% 0.216 286.0);
Tailwind
colors: {
  custom: {
    50: '#a78af7',
    500: '#765af1',
    950: '#000000',
  },
}
SCSS
$custom: #765af1;
$custom-light: #a78af7;
$custom-dark: #000000;
JSON
{
  "hex": "#765af1",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 251.126,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.21596,
    "h": 286
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#765AF1
secondary
#E4EDBA
accent
#E105B8
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #765AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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