#762FCA#762FCA

#762FCA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.221 H 298.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#762FCA
RGBrgb(118, 47, 202)
HSLhsl(267, 62%, 49%)
HSVhsv(267, 77%, 79%)
CMYKcmyk(41.6%, 76.7%, 0%, 20.8%)
CIE-LABlab(38.11, 59.88, -67.73)
CIE-LCHlch(38.11, 90.40, 311.48°)
OKLaboklab(49.36% 0.1056 -0.1937)
OKLCHoklch(49.36% 0.221 298.6)
XYZxyz(19.1457, 10.1486, 56.8158)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FCA #83CA2F
analogous
#2F36CA #762FCA #C42FCA
triadic
#762FCA #CA762F #2FCA76
tetradic
#762FCA #CA2F36 #83CA2F #2FCAC4
square
#762FCA #CA2F36 #83CA2F #2FCAC4
split-complementary
#762FCA #CAC42F #36CA2F
monochromatic
#3C1867 #592398 #762FCA #965DD9 #B68FE5

Accessibility & contrast

On white

6.93
#762FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#762FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #762FCA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FCA#FFFFFF#000000##FFFFFF
##762FCA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#61597C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #762fca;
/* rgb */ color: rgb(118, 47, 202);
/* oklch */ color: oklch(49.4% 0.221 298.6);
Tailwind
colors: {
  custom: {
    50: '#a56fdb',
    500: '#762fca',
    950: '#000000',
  },
}
SCSS
$custom: #762fca;
$custom-light: #a56fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#762fca",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 267.484,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.22067,
    "h": 298.6
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#762FCA
secondary
#ADCF86
accent
#E5429B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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