#765FCA#765FCA

#765FCA is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.1% C 0.160 H 290.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#765FCA
RGBrgb(118, 95, 202)
HSLhsl(253, 50%, 58%)
HSVhsv(253, 53%, 79%)
CMYKcmyk(41.6%, 53%, 0%, 20.8%)
CIE-LABlab(47.37, 34.90, -52.73)
CIE-LCHlch(47.37, 63.23, 303.50°)
OKLaboklab(56.06% 0.0551 -0.1498)
OKLCHoklch(56.06% 0.16 290.2)
XYZxyz(22.2211, 16.2995, 57.8410)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FCA #B3CA5F
analogous
#5F7DCA #765FCA #AB5FCA
triadic
#765FCA #CA765F #5FCA76
tetradic
#765FCA #CA5F7D #B3CA5F #5FCAAB
square
#765FCA #CA5F7D #B3CA5F #5FCAAB
split-complementary
#765FCA #CAAB5F #7DCA5F
monochromatic
#3E2B83 #543BB1 #765FCA #9D8DD9 #C5BBE8

Accessibility & contrast

On white

4.93
#765FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#765FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FCA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FCA#FFFFFF#000000##FFFFFF
##765FCA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#5E758B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765fca;
/* rgb */ color: rgb(118, 95, 202);
/* oklch */ color: oklch(56.1% 0.160 290.2);
Tailwind
colors: {
  custom: {
    50: '#a28ddb',
    500: '#765fca',
    950: '#000000',
  },
}
SCSS
$custom: #765fca;
$custom-light: #a28ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#765fca",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 252.897,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.15957,
    "h": 290.2
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#765FCA
secondary
#CFD8AD
accent
#DA4EBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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