#7634BA#7634BA

#7634BA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.199 H 301.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7634BA
RGBrgb(118, 52, 186)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 73%)
CMYKcmyk(36.6%, 72%, 0%, 27.1%)
CIE-LABlab(37.58, 53.84, -59.23)
CIE-LCHlch(37.58, 80.04, 312.27°)
OKLaboklab(48.59% 0.1048 -0.1688)
OKLCHoklch(48.59% 0.199 301.8)
XYZxyz(17.5600, 9.8526, 47.4215)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7634BA #78BA34
analogous
#3435BA #7634BA #B934BA
triadic
#7634BA #BA7634 #34BA76
tetradic
#7634BA #BA3435 #78BA34 #34BAB9
square
#7634BA #BA3435 #78BA34 #34BAB9
split-complementary
#7634BA #BAB934 #35BA34
monochromatic
#39195A #58278A #7634BA #955AD1 #B48ADE

Accessibility & contrast

On white

7.07
#7634BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7634BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7634BA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7634BA#FFFFFF#000000##FFFFFF
##7634BA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#685574
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7634ba;
/* rgb */ color: rgb(118, 52, 186);
/* oklch */ color: oklch(48.6% 0.199 301.8);
Tailwind
colors: {
  custom: {
    50: '#a371d0',
    500: '#7634ba',
    950: '#000000',
  },
}
SCSS
$custom: #7634ba;
$custom-light: #a371d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7634ba",
  "rgb": {
    "r": 118,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 269.552,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.19871,
    "h": 301.8
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#7634BA
secondary
#A5C881
accent
#E04895
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7634BA

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

Preview Lab → · Contrast checker → · Palette generator →

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