#762BB7#762BB7

#762BB7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.206 H 303.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#762BB7
RGBrgb(118, 43, 183)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 77%, 72%)
CMYKcmyk(35.5%, 76.5%, 0%, 28.2%)
CIE-LABlab(35.98, 56.99, -60.05)
CIE-LCHlch(35.98, 82.79, 313.50°)
OKLaboklab(47.39% 0.1138 -0.1712)
OKLCHoklch(47.39% 0.206 303.6)
XYZxyz(16.8803, 8.9982, 45.6381)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB7 #6CB72B
analogous
#302BB7 #762BB7 #B72BB2
triadic
#762BB7 #B7762B #2BB776
tetradic
#762BB7 #B7302B #6CB72B #2BB2B7
square
#762BB7 #B7302B #6CB72B #2BB2B7
split-complementary
#762BB7 #B2B72B #2BB730
monochromatic
#361454 #561F85 #762BB7 #954BD5 #B27CE0

Accessibility & contrast

On white

7.50
#762BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#762BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BB7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB7#FFFFFF#000000##FFFFFF
##762BB71.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#694F70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762bb7;
/* rgb */ color: rgb(118, 43, 183);
/* oklch */ color: oklch(47.4% 0.206 303.6);
Tailwind
colors: {
  custom: {
    50: '#a36dce',
    500: '#762bb7',
    950: '#000000',
  },
}
SCSS
$custom: #762bb7;
$custom-light: #a36dce;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb7",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 272.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.20555,
    "h": 303.6
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#762BB7
secondary
#9CC975
accent
#E5438E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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