#762ACA#762ACA

#762ACA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.225 H 299.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#762ACA
RGBrgb(118, 42, 202)
HSLhsl(269, 66%, 48%)
HSVhsv(269, 79%, 79%)
CMYKcmyk(41.6%, 79.2%, 0%, 20.8%)
CIE-LABlab(37.43, 61.84, -68.84)
CIE-LCHlch(37.43, 92.53, 311.93°)
OKLaboklab(48.89% 0.1095 -0.197)
OKLCHoklch(48.89% 0.225 299.1)
XYZxyz(18.9571, 9.7715, 56.7530)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762ACA #7ECA2A
analogous
#2A2ECA #762ACA #C62ACA
triadic
#762ACA #CA762A #2ACA76
tetradic
#762ACA #CA2A2E #7ECA2A #2ACAC6
square
#762ACA #CA2A2E #7ECA2A #2ACAC6
split-complementary
#762ACA #CAC62A #2ECA2A
monochromatic
#3B1565 #581F97 #762ACA #9555DC #B588E6

Accessibility & contrast

On white

7.11
#762ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#762ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762ACA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762ACA#FFFFFF#000000##FFFFFF
##762ACA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#61577B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #762aca;
/* rgb */ color: rgb(118, 42, 202);
/* oklch */ color: oklch(48.9% 0.225 299.1);
Tailwind
colors: {
  custom: {
    50: '#a56ddb',
    500: '#762aca',
    950: '#000000',
  },
}
SCSS
$custom: #762aca;
$custom-light: #a56ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#762aca",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 268.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.22535,
    "h": 299.1
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#762ACA
secondary
#AAD080
accent
#E93F98
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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