#762CB0#762CB0

#762CB0 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.197 H 305.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#762CB0
RGBrgb(118, 44, 176)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 69%)
CMYKcmyk(33%, 75%, 0%, 31%)
CIE-LABlab(35.57, 54.97, -56.56)
CIE-LCHlch(35.57, 78.87, 314.18°)
OKLaboklab(46.93% 0.1144 -0.1609)
OKLCHoklch(46.93% 0.197 305.4)
XYZxyz(16.2066, 8.7876, 41.9083)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB0 #66B02C
analogous
#342CB0 #762CB0 #B02CA8
triadic
#762CB0 #B0762C #2CB076
tetradic
#762CB0 #B0342C #66B02C #2CA8B0
square
#762CB0 #B0342C #66B02C #2CA8B0
split-complementary
#762CB0 #A8B02C #2CB034
monochromatic
#34144E #55207F #762CB0 #9548D1 #B179DD

Accessibility & contrast

On white

7.62
#762CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB0#FFFFFF#000000##FFFFFF
##762CB01.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#6B4D6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762cb0;
/* rgb */ color: rgb(118, 44, 176);
/* oklch */ color: oklch(46.9% 0.197 305.4);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#762cb0',
    950: '#000000',
  },
}
SCSS
$custom: #762cb0;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb0",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 273.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.19747,
    "h": 305.4
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#762CB0
secondary
#97C672
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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