#765FE2#765FE2

#765FE2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.191 H 286.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#765FE2
RGBrgb(118, 95, 226)
HSLhsl(251, 69%, 63%)
HSVhsv(251, 58%, 89%)
CMYKcmyk(47.8%, 58%, 0%, 11.4%)
CIE-LABlab(48.92, 41.77, -63.91)
CIE-LCHlch(48.92, 76.35, 303.17°)
OKLaboklab(57.7% 0.0554 -0.1826)
OKLCHoklch(57.7% 0.191 286.9)
XYZxyz(25.2869, 17.5258, 73.9872)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FE2 #CBE25F
analogous
#5F8AE2 #765FE2 #B75FE2
triadic
#765FE2 #E2765F #5FE276
tetradic
#765FE2 #E25F8A #CBE25F #5FE2B7
square
#765FE2 #E25F8A #CBE25F #5FE2B7
split-complementary
#765FE2 #E2B75F #8AE25F
monochromatic
#371EA8 #4A2BD9 #765FE2 #A293EB #CFC7F5

Accessibility & contrast

On white

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

On black

4.51
#765FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##765FE2#FFFFFF#000000##FFFFFF
##765FE21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#517D97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765fe2;
/* rgb */ color: rgb(118, 95, 226);
/* oklch */ color: oklch(57.7% 0.191 286.9);
Tailwind
colors: {
  custom: {
    50: '#a58dec',
    500: '#765fe2',
    950: '#000000',
  },
}
SCSS
$custom: #765fe2;
$custom-light: #a58dec;
$custom-dark: #000000;
JSON
{
  "hex": "#765fe2",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 250.534,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.577,
    "c": 0.19085,
    "h": 286.9
  },
  "luminance": 0.17527
}

Semantic roles & 50–950 ramp

primary
#765FE2
secondary
#DEE6B7
accent
#D114B0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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