#762285#762285

#762285 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.168 H 321.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#762285
RGBrgb(118, 34, 133)
HSLhsl(291, 59%, 33%)
HSVhsv(291, 74%, 52%)
CMYKcmyk(11.3%, 74.4%, 0%, 47.8%)
CIE-LABlab(31.09, 49.77, -37.63)
CIE-LCHlch(31.09, 62.39, 322.91°)
OKLaboklab(42.78% 0.1306 -0.1053)
OKLCHoklch(42.78% 0.168 321.1)
XYZxyz(12.2764, 6.6897, 22.8304)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762285 #318522
analogous
#442285 #762285 #852262
triadic
#762285 #857622 #228576
tetradic
#762285 #854422 #318522 #226285
square
#762285 #854422 #318522 #226285
split-complementary
#762285 #628522 #228544
monochromatic
#200924 #4B1654 #762285 #A12EB6 #BE4FD2

Accessibility & contrast

On white

8.98
#762285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#762285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762285
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762285#FFFFFF#000000##FFFFFF
##7622851.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#773551
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762285;
/* rgb */ color: rgb(118, 34, 133);
/* oklch */ color: oklch(42.8% 0.168 321.1);
Tailwind
colors: {
  custom: {
    50: '#a166a9',
    500: '#762285',
    950: '#000000',
  },
}
SCSS
$custom: #762285;
$custom-light: #a166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#762285",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 290.909,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42778,
    "c": 0.16774,
    "h": 321.1
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#762285
secondary
#5DB64D
accent
#E2455D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762285

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

Preview Lab → · Contrast checker → · Palette generator →

#762285 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva