#762DB0#762DB0

#762DB0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.196 H 305.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#762DB0
RGBrgb(118, 45, 176)
HSLhsl(273, 59%, 43%)
HSVhsv(273, 74%, 69%)
CMYKcmyk(33%, 74.4%, 0%, 31%)
CIE-LABlab(35.72, 54.55, -56.33)
CIE-LCHlch(35.72, 78.41, 314.08°)
OKLaboklab(47.03% 0.1135 -0.1602)
OKLCHoklch(47.03% 0.196 305.3)
XYZxyz(16.2443, 8.8630, 41.9208)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DB0 #67B02D
analogous
#342DB0 #762DB0 #B02DA8
triadic
#762DB0 #B0762D #2DB076
tetradic
#762DB0 #B0342D #67B02D #2DA8B0
square
#762DB0 #B0342D #67B02D #2DA8B0
split-complementary
#762DB0 #A8B02D #2DB034
monochromatic
#35144F #55217F #762DB0 #954AD1 #B17ADD

Accessibility & contrast

On white

7.57
#762DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#762DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DB0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DB0#FFFFFF#000000##FFFFFF
##762DB01.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.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: #762db0;
/* rgb */ color: rgb(118, 45, 176);
/* oklch */ color: oklch(47.0% 0.196 305.3);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#762db0',
    950: '#000000',
  },
}
SCSS
$custom: #762db0;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#762db0",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 273.435,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47032,
    "c": 0.19637,
    "h": 305.3
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#762DB0
secondary
#98C573
accent
#E2458B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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