#762FB0#762FB0

#762FB0 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.194 H 305.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#762FB0
RGBrgb(118, 47, 176)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 73%, 69%)
CMYKcmyk(33%, 73.3%, 0%, 31%)
CIE-LABlab(36.02, 53.69, -55.83)
CIE-LCHlch(36.02, 77.46, 313.88°)
OKLaboklab(47.25% 0.1116 -0.1588)
OKLCHoklch(47.25% 0.194 305.1)
XYZxyz(16.3224, 9.0193, 41.9469)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB0 #69B02F
analogous
#352FB0 #762FB0 #B02FA9
triadic
#762FB0 #B0762F #2FB076
tetradic
#762FB0 #B0352F #69B02F #2FA9B0
square
#762FB0 #B0352F #69B02F #2FA9B0
split-complementary
#762FB0 #A9B02F #2FB035
monochromatic
#35154F #562280 #762FB0 #954DCF #B17DDC

Accessibility & contrast

On white

7.49
#762FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762FB0
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB0#FFFFFF#000000##FFFFFF
##762FB01.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762fb0;
/* rgb */ color: rgb(118, 47, 176);
/* oklch */ color: oklch(47.2% 0.194 305.1);
Tailwind
colors: {
  custom: {
    50: '#a36ec8',
    500: '#762fb0',
    950: '#000000',
  },
}
SCSS
$custom: #762fb0;
$custom-light: #a36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb0",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 273.023,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.19409,
    "h": 305.1
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#762FB0
secondary
#99C576
accent
#E1478C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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