#762CAF#762CAF

#762CAF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.196 H 305.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#762CAF
RGBrgb(118, 44, 175)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 69%)
CMYKcmyk(32.6%, 74.9%, 0%, 31.4%)
CIE-LABlab(35.49, 54.74, -56.09)
CIE-LCHlch(35.49, 78.38, 314.30°)
OKLaboklab(46.85% 0.1146 -0.1596)
OKLCHoklch(46.85% 0.196 305.7)
XYZxyz(16.1080, 8.7482, 41.3891)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CAF #65AF2C
analogous
#342CAF #762CAF #AF2CA6
triadic
#762CAF #AF762C #2CAF76
tetradic
#762CAF #AF342C #65AF2C #2CA6AF
square
#762CAF #AF342C #65AF2C #2CA6AF
split-complementary
#762CAF #A6AF2C #2CAF34
monochromatic
#34134D #55207E #762CAF #9547D1 #B178DD

Accessibility & contrast

On white

7.64
#762CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#762CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CAF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CAF#FFFFFF#000000##FFFFFF
##762CAF1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6C4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762caf;
/* rgb */ color: rgb(118, 44, 175);
/* oklch */ color: oklch(46.8% 0.196 305.7);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#762caf',
    950: '#000000',
  },
}
SCSS
$custom: #762caf;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#762caf",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 273.893,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.19647,
    "h": 305.7
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#762CAF
secondary
#96C572
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CAF

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

Preview Lab → · Contrast checker → · Palette generator →

#762CAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva