#765FD2#765FD2

#765FD2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.170 H 289.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#765FD2
RGBrgb(118, 95, 210)
HSLhsl(252, 56%, 60%)
HSVhsv(252, 55%, 82%)
CMYKcmyk(43.8%, 54.8%, 0%, 17.6%)
CIE-LABlab(47.86, 37.17, -56.51)
CIE-LCHlch(47.86, 67.64, 303.33°)
OKLaboklab(56.59% 0.0554 -0.1609)
OKLCHoklch(56.59% 0.17 289)
XYZxyz(23.1930, 16.6883, 62.9594)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FD2 #BBD25F
analogous
#5F82D2 #765FD2 #B05FD2
triadic
#765FD2 #D2765F #5FD276
tetradic
#765FD2 #D25F82 #BBD25F #5FD2B0
square
#765FD2 #D25F82 #BBD25F #5FD2B0
split-complementary
#765FD2 #D2B05F #82D25F
monochromatic
#3D288F #5136BE #765FD2 #9F8FDF #C8BFED

Accessibility & contrast

On white

4.84
#765FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#765FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FD2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FD2#FFFFFF#000000##FFFFFF
##765FD21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#256FCF
Tritanopia (blue-blind)
#5B788F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765fd2;
/* rgb */ color: rgb(118, 95, 210);
/* oklch */ color: oklch(56.6% 0.170 289.0);
Tailwind
colors: {
  custom: {
    50: '#a38de0',
    500: '#765fd2',
    950: '#000000',
  },
}
SCSS
$custom: #765fd2;
$custom-light: #a38de0;
$custom-dark: #000000;
JSON
{
  "hex": "#765fd2",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 252,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.17014,
    "h": 289
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#765FD2
secondary
#D4DDB0
accent
#DF48C1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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