#762FBA#762FBA

#762FBA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.204 H 302.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#762FBA
RGBrgb(118, 47, 186)
HSLhsl(271, 60%, 46%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(36.6%, 74.7%, 0%, 27.1%)
CIE-LABlab(36.80, 56.04, -60.49)
CIE-LCHlch(36.80, 82.46, 312.81°)
OKLaboklab(48.04% 0.1095 -0.1725)
OKLCHoklch(48.04% 0.204 302.4)
XYZxyz(17.3485, 9.4297, 47.3510)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FBA #73BA2F
analogous
#302FBA #762FBA #BA2FB9
triadic
#762FBA #BA762F #2FBA76
tetradic
#762FBA #BA302F #73BA2F #2FB9BA
square
#762FBA #BA302F #73BA2F #2FB9BA
split-complementary
#762FBA #B9BA2F #2FBA30
monochromatic
#381658 #572389 #762FBA #9453D3 #B384E0

Accessibility & contrast

On white

7.28
#762FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#762FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FBA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FBA#FFFFFF#000000##FFFFFF
##762FBA1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#685272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762fba;
/* rgb */ color: rgb(118, 47, 186);
/* oklch */ color: oklch(48.0% 0.204 302.4);
Tailwind
colors: {
  custom: {
    50: '#a36fd0',
    500: '#762fba',
    950: '#000000',
  },
}
SCSS
$custom: #762fba;
$custom-light: #a36fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#762fba",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 270.647,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.20434,
    "h": 302.4
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#762FBA
secondary
#A2C97C
accent
#E34592
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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