#7634A2#7634A2

#7634A2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.173 H 308.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7634A2
RGBrgb(118, 52, 162)
HSLhsl(276, 51%, 42%)
HSVhsv(276, 68%, 64%)
CMYKcmyk(27.2%, 67.9%, 0%, 36.5%)
CIE-LABlab(35.82, 48.14, -47.78)
CIE-LCHlch(35.82, 67.82, 315.22°)
OKLaboklab(46.78% 0.1083 -0.1352)
OKLCHoklch(46.78% 0.173 308.7)
XYZxyz(15.2195, 8.9164, 35.0947)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7634A2 #60A234
analogous
#3F34A2 #7634A2 #A23497
triadic
#7634A2 #A27634 #34A276
tetradic
#7634A2 #A23F34 #60A234 #3497A2
square
#7634A2 #A23F34 #60A234 #3497A2
split-complementary
#7634A2 #97A234 #34A23F
monochromatic
#331645 #542574 #7634A2 #964DC6 #B17CD5

Accessibility & contrast

On white

7.55
#7634A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7634A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7634A2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7634A2#FFFFFF#000000##FFFFFF
##7634A21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#6F4B67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7634a2;
/* rgb */ color: rgb(118, 52, 162);
/* oklch */ color: oklch(46.8% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#a170be',
    500: '#7634a2',
    950: '#000000',
  },
}
SCSS
$custom: #7634a2;
$custom-light: #a170be;
$custom-dark: #000000;
JSON
{
  "hex": "#7634a2",
  "rgb": {
    "r": 118,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 276,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.17319,
    "h": 308.7
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#7634A2
secondary
#92BE74
accent
#DB4D86
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7634A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7634A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva