#762BB8#762BB8

#762BB8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.207 H 303.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#762BB8
RGBrgb(118, 43, 184)
HSLhsl(272, 62%, 45%)
HSVhsv(272, 77%, 72%)
CMYKcmyk(35.9%, 76.6%, 0%, 27.8%)
CIE-LABlab(36.06, 57.23, -60.51)
CIE-LCHlch(36.06, 83.29, 313.40°)
OKLaboklab(47.47% 0.1135 -0.1725)
OKLCHoklch(47.47% 0.207 303.3)
XYZxyz(16.9848, 9.0400, 46.1882)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB8 #6DB82B
analogous
#2F2BB8 #762BB8 #B82BB4
triadic
#762BB8 #B8762B #2BB876
tetradic
#762BB8 #B82F2B #6DB82B #2BB4B8
square
#762BB8 #B82F2B #6DB82B #2BB4B8
split-complementary
#762BB8 #B4B82B #2BB82F
monochromatic
#361455 #561F86 #762BB8 #944BD5 #B27DE1

Accessibility & contrast

On white

7.48
#762BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#762BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BB8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB8#FFFFFF#000000##FFFFFF
##762BB81.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762bb8;
/* rgb */ color: rgb(118, 43, 184);
/* oklch */ color: oklch(47.5% 0.207 303.3);
Tailwind
colors: {
  custom: {
    50: '#a46dce',
    500: '#762bb8',
    950: '#000000',
  },
}
SCSS
$custom: #762bb8;
$custom-light: #a46dce;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb8",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 271.915,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.20654,
    "h": 303.3
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#762BB8
secondary
#9DC976
accent
#E5438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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