#762DAF#762DAF

#762DAF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.195 H 305.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#762DAF
RGBrgb(118, 45, 175)
HSLhsl(274, 59%, 43%)
HSVhsv(274, 74%, 69%)
CMYKcmyk(32.6%, 74.3%, 0%, 31.4%)
CIE-LABlab(35.64, 54.32, -55.85)
CIE-LCHlch(35.64, 77.91, 314.20°)
OKLaboklab(46.95% 0.1137 -0.1589)
OKLCHoklch(46.95% 0.195 305.6)
XYZxyz(16.1457, 8.8236, 41.4017)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DAF #66AF2D
analogous
#352DAF #762DAF #AF2DA7
triadic
#762DAF #AF762D #2DAF76
tetradic
#762DAF #AF352D #66AF2D #2DA7AF
square
#762DAF #AF352D #66AF2D #2DA7AF
split-complementary
#762DAF #A7AF2D #2DAF35
monochromatic
#34144E #55207E #762DAF #9549D0 #B17ADD

Accessibility & contrast

On white

7.60
#762DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DAF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DAF#FFFFFF#000000##FFFFFF
##762DAF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6C4D6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762daf;
/* rgb */ color: rgb(118, 45, 175);
/* oklch */ color: oklch(47.0% 0.195 305.6);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#762daf',
    950: '#000000',
  },
}
SCSS
$custom: #762daf;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#762daf",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 273.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.19535,
    "h": 305.6
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#762DAF
secondary
#97C573
accent
#E2468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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