#762FAF#762FAF

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

Color values

HEX#762FAF
RGBrgb(118, 47, 175)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 73%, 69%)
CMYKcmyk(32.6%, 73.1%, 0%, 31.4%)
CIE-LABlab(35.95, 53.46, -55.36)
CIE-LCHlch(35.95, 76.96, 314.00°)
OKLaboklab(47.17% 0.1118 -0.1574)
OKLCHoklch(47.17% 0.193 305.4)
XYZxyz(16.2239, 8.9798, 41.4277)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FAF #68AF2F
analogous
#362FAF #762FAF #AF2FA8
triadic
#762FAF #AF762F #2FAF76
tetradic
#762FAF #AF362F #68AF2F #2FA8AF
square
#762FAF #AF362F #68AF2F #2FA8AF
split-complementary
#762FAF #A8AF2F #2FAF36
monochromatic
#35154F #55227F #762FAF #954CCF #B17CDC

Accessibility & contrast

On white

7.51
#762FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762FAF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FAF#FFFFFF#000000##FFFFFF
##762FAF1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#6C4E6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762faf;
/* rgb */ color: rgb(118, 47, 175);
/* oklch */ color: oklch(47.2% 0.193 305.4);
Tailwind
colors: {
  custom: {
    50: '#a36ec8',
    500: '#762faf',
    950: '#000000',
  },
}
SCSS
$custom: #762faf;
$custom-light: #a36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#762faf",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 273.281,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.19307,
    "h": 305.4
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#762FAF
secondary
#99C475
accent
#E1478B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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