#762FB9#762FB9

#762FB9 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.203 H 302.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#762FB9
RGBrgb(118, 47, 185)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(36.2%, 74.6%, 0%, 27.5%)
CIE-LABlab(36.72, 55.81, -60.03)
CIE-LCHlch(36.72, 81.97, 312.91°)
OKLaboklab(47.96% 0.1098 -0.1711)
OKLCHoklch(47.96% 0.203 302.7)
XYZxyz(17.2426, 9.3873, 46.7931)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB9 #72B92F
analogous
#312FB9 #762FB9 #B92FB7
triadic
#762FB9 #B9762F #2FB976
tetradic
#762FB9 #B9312F #72B92F #2FB7B9
square
#762FB9 #B9312F #72B92F #2FB7B9
split-complementary
#762FB9 #B7B92F #2FB931
monochromatic
#381657 #572388 #762FB9 #9452D3 #B383DF

Accessibility & contrast

On white

7.30
#762FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#762FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FB9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB9#FFFFFF#000000##FFFFFF
##762FB91.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#685272
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762fb9;
/* rgb */ color: rgb(118, 47, 185);
/* oklch */ color: oklch(48.0% 0.203 302.7);
Tailwind
colors: {
  custom: {
    50: '#a36fcf',
    500: '#762fb9',
    950: '#000000',
  },
}
SCSS
$custom: #762fb9;
$custom-light: #a36fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb9",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 270.87,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.20332,
    "h": 302.7
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#762FB9
secondary
#A1C97B
accent
#E34592
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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