#762FB2#762FB2

#762FB2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.196 H 304.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#762FB2
RGBrgb(118, 47, 178)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 74%, 70%)
CMYKcmyk(33.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(36.17, 54.16, -56.78)
CIE-LCHlch(36.17, 78.46, 313.65°)
OKLaboklab(47.4% 0.1112 -0.1616)
OKLCHoklch(47.4% 0.196 304.5)
XYZxyz(16.5218, 9.0990, 42.9967)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB2 #6BB22F
analogous
#352FB2 #762FB2 #B22FAD
triadic
#762FB2 #B2762F #2FB276
tetradic
#762FB2 #B2352F #6BB22F #2FADB2
square
#762FB2 #B2352F #6BB22F #2FADB2
split-complementary
#762FB2 #ADB22F #2FB235
monochromatic
#361551 #562282 #762FB2 #954ED0 #B27EDD

Accessibility & contrast

On white

7.45
#762FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#762FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FB2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB2#FFFFFF#000000##FFFFFF
##762FB21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#6B4F6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762fb2;
/* rgb */ color: rgb(118, 47, 178);
/* oklch */ color: oklch(47.4% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#a36eca',
    500: '#762fb2',
    950: '#000000',
  },
}
SCSS
$custom: #762fb2;
$custom-light: #a36eca;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb2",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 272.519,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47402,
    "c": 0.19614,
    "h": 304.5
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#762FB2
secondary
#9BC677
accent
#E1468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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