#765AFE#765AFE

#765AFE is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.232 H 284.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#765AFE
RGBrgb(118, 90, 254)
HSLhsl(250, 99%, 67%)
HSVhsv(250, 65%, 100%)
CMYKcmyk(53.5%, 64.6%, 0%, 0.4%)
CIE-LABlab(49.88, 52.69, -78.03)
CIE-LCHlch(49.88, 94.15, 304.03°)
OKLaboklab(59.04% 0.0584 -0.2242)
OKLCHoklch(59.04% 0.232 284.6)
XYZxyz(29.0114, 18.3180, 95.7537)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AFE #E2FE5A
analogous
#5A90FE #765AFE #C85AFE
triadic
#765AFE #FE765A #5AFE76
tetradic
#765AFE #FE5A90 #E2FE5A #5AFEC8
square
#765AFE #FE5A90 #E2FE5A #5AFEC8
split-complementary
#765AFE #FEC85A #90FE5A
monochromatic
#2701DC #431DFE #765AFE #A997FE #DBD4FF

Accessibility & contrast

On white

4.50
#765AFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#765AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #765AFE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AFE#FFFFFF#000000##000000
##765AFE1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0071FB
Tritanopia (blue-blind)
#3A83A4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #765afe;
/* rgb */ color: rgb(118, 90, 254);
/* oklch */ color: oklch(59.0% 0.232 284.6);
Tailwind
colors: {
  custom: {
    50: '#a98aff',
    500: '#765afe',
    950: '#000000',
  },
}
SCSS
$custom: #765afe;
$custom-light: #a98aff;
$custom-dark: #000000;
JSON
{
  "hex": "#765afe",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 254
  },
  "hsl": {
    "h": 250.244,
    "s": 98.795,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59039,
    "c": 0.23165,
    "h": 284.6
  },
  "luminance": 0.1832
}

Semantic roles & 50–950 ramp

primary
#765AFE
secondary
#EBF4C0
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #765AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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