#765FC2#765FC2

#765FC2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.5% C 0.149 H 291.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#765FC2
RGBrgb(118, 95, 194)
HSLhsl(254, 45%, 57%)
HSVhsv(254, 51%, 76%)
CMYKcmyk(39.2%, 51%, 0%, 23.9%)
CIE-LABlab(46.88, 32.65, -48.89)
CIE-LCHlch(46.88, 58.79, 303.74°)
OKLaboklab(55.54% 0.0545 -0.1385)
OKLCHoklch(55.54% 0.149 291.5)
XYZxyz(21.2984, 15.9304, 52.9812)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FC2 #ABC25F
analogous
#5F7AC2 #765FC2 #A75FC2
triadic
#765FC2 #C2765F #5FC276
tetradic
#765FC2 #C25F7A #ABC25F #5FC2A7
square
#765FC2 #C25F7A #ABC25F #5FC2A7
split-complementary
#765FC2 #C2A75F #7AC25F
monochromatic
#3F2E79 #573FA5 #765FC2 #9C8BD3 #C2B8E4

Accessibility & contrast

On white

5.02
#765FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#765FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FC2#FFFFFF#000000##FFFFFF
##765FC21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3671C5
Deuteranopia (green-blind)
#3A6DC0
Tritanopia (blue-blind)
#627387
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765fc2;
/* rgb */ color: rgb(118, 95, 194);
/* oklch */ color: oklch(55.5% 0.149 291.5);
Tailwind
colors: {
  custom: {
    50: '#a18dd5',
    500: '#765fc2',
    950: '#000000',
  },
}
SCSS
$custom: #765fc2;
$custom-light: #a18dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#765fc2",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 253.939,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.14885,
    "h": 291.5
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#765FC2
secondary
#C9D3AA
accent
#D453B6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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