#762BCA#762BCA

#762BCA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.0% C 0.224 H 299.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#762BCA
RGBrgb(118, 43, 202)
HSLhsl(268, 65%, 48%)
HSVhsv(268, 79%, 79%)
CMYKcmyk(41.6%, 78.7%, 0%, 20.8%)
CIE-LABlab(37.56, 61.46, -68.62)
CIE-LCHlch(37.56, 92.12, 311.85°)
OKLaboklab(48.98% 0.1087 -0.1963)
OKLCHoklch(48.98% 0.224 299)
XYZxyz(18.9930, 9.8433, 56.7650)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BCA #7FCA2B
analogous
#2B2FCA #762BCA #C52BCA
triadic
#762BCA #CA762B #2BCA76
tetradic
#762BCA #CA2B2F #7FCA2B #2BCAC5
square
#762BCA #CA2B2F #7FCA2B #2BCAC5
split-complementary
#762BCA #CAC52B #2FCA2B
monochromatic
#3B1665 #592098 #762BCA #9557DB #B589E6

Accessibility & contrast

On white

7.07
#762BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#762BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BCA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BCA#FFFFFF#000000##FFFFFF
##762BCA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.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: #762bca;
/* rgb */ color: rgb(118, 43, 202);
/* oklch */ color: oklch(49.0% 0.224 299.0);
Tailwind
colors: {
  custom: {
    50: '#a56edb',
    500: '#762bca',
    950: '#000000',
  },
}
SCSS
$custom: #762bca;
$custom-light: #a56edb;
$custom-dark: #000000;
JSON
{
  "hex": "#762bca",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 268.302,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.22445,
    "h": 299
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#762BCA
secondary
#ABD081
accent
#E84099
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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