#762FB1#762FB1

#762FB1 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.195 H 304.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#762FB1
RGBrgb(118, 47, 177)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 73%, 69%)
CMYKcmyk(33.3%, 73.4%, 0%, 30.6%)
CIE-LABlab(36.10, 53.92, -56.31)
CIE-LCHlch(36.10, 77.96, 313.76°)
OKLaboklab(47.32% 0.1114 -0.1602)
OKLCHoklch(47.32% 0.195 304.8)
XYZxyz(16.4217, 9.0590, 42.4699)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB1 #6AB12F
analogous
#352FB1 #762FB1 #B12FAB
triadic
#762FB1 #B1762F #2FB176
tetradic
#762FB1 #B1352F #6AB12F #2FABB1
square
#762FB1 #B1352F #6AB12F #2FABB1
split-complementary
#762FB1 #ABB12F #2FB135
monochromatic
#361550 #562281 #762FB1 #954DD0 #B27EDD

Accessibility & contrast

On white

7.47
#762FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762FB1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB1#FFFFFF#000000##FFFFFF
##762FB11.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#6B4E6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762fb1;
/* rgb */ color: rgb(118, 47, 177);
/* oklch */ color: oklch(47.3% 0.195 304.8);
Tailwind
colors: {
  custom: {
    50: '#a36ec9',
    500: '#762fb1',
    950: '#000000',
  },
}
SCSS
$custom: #762fb1;
$custom-light: #a36ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb1",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 272.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.19512,
    "h": 304.8
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#762FB1
secondary
#9AC576
accent
#E1478D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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