#765FC4#765FC4

#765FC4 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.7% C 0.152 H 291.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#765FC4
RGBrgb(118, 95, 196)
HSLhsl(254, 46%, 57%)
HSVhsv(254, 52%, 77%)
CMYKcmyk(39.8%, 51.5%, 0%, 23.1%)
CIE-LABlab(47.00, 33.21, -49.85)
CIE-LCHlch(47.00, 59.90, 303.67°)
OKLaboklab(55.67% 0.0547 -0.1413)
OKLCHoklch(55.67% 0.152 291.2)
XYZxyz(21.5245, 16.0209, 54.1721)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FC4 #ADC45F
analogous
#5F7BC4 #765FC4 #A85FC4
triadic
#765FC4 #C4765F #5FC476
tetradic
#765FC4 #C45F7B #ADC45F #5FC4A8
square
#765FC4 #C45F7B #ADC45F #5FC4A8
split-complementary
#765FC4 #C4A85F #7BC45F
monochromatic
#3F2D7B #563EA8 #765FC4 #9C8CD4 #C3B8E5

Accessibility & contrast

On white

5.00
#765FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#765FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FC4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FC4#FFFFFF#000000##FFFFFF
##765FC41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3471C8
Deuteranopia (green-blind)
#386DC2
Tritanopia (blue-blind)
#617488
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765fc4;
/* rgb */ color: rgb(118, 95, 196);
/* oklch */ color: oklch(55.7% 0.152 291.2);
Tailwind
colors: {
  custom: {
    50: '#a28dd6',
    500: '#765fc4',
    950: '#000000',
  },
}
SCSS
$custom: #765fc4;
$custom-light: #a28dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#765fc4",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 253.663,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.15154,
    "h": 291.2
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#765FC4
secondary
#CBD4AB
accent
#D652B8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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