#765AFB#765AFB

#765AFB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.228 H 284.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#765AFB
RGBrgb(118, 90, 251)
HSLhsl(250, 95%, 67%)
HSVhsv(250, 64%, 98%)
CMYKcmyk(53%, 64.1%, 0%, 1.6%)
CIE-LABlab(49.65, 51.82, -76.74)
CIE-LCHlch(49.65, 92.60, 304.03°)
OKLaboklab(58.8% 0.0587 -0.2204)
OKLCHoklch(58.8% 0.228 284.9)
XYZxyz(28.5347, 18.1273, 93.2434)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AFB #DFFB5A
analogous
#5A8FFB #765AFB #C75AFB
triadic
#765AFB #FB765A #5AFB76
tetradic
#765AFB #FB5A8F #DFFB5A #5AFBC7
square
#765AFB #FB5A8F #DFFB5A #5AFBC7
split-complementary
#765AFB #FBC75A #8FFB5A
monochromatic
#2905D5 #441EFA #765AFB #A896FC #D9D2FE

Accessibility & contrast

On white

4.54
#765AFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#765AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #765AFB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AFB#FFFFFF#000000##000000
##765AFB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0071F8
Tritanopia (blue-blind)
#3D82A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #765afb;
/* rgb */ color: rgb(118, 90, 251);
/* oklch */ color: oklch(58.8% 0.228 284.9);
Tailwind
colors: {
  custom: {
    50: '#a88afe',
    500: '#765afb',
    950: '#000000',
  },
}
SCSS
$custom: #765afb;
$custom-light: #a88afe;
$custom-dark: #000000;
JSON
{
  "hex": "#765afb",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 251
  },
  "hsl": {
    "h": 250.435,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.22806,
    "h": 284.9
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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