#7638B6#7638B6

#7638B6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.190 H 302.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7638B6
RGBrgb(118, 56, 182)
HSLhsl(270, 53%, 47%)
HSVhsv(270, 69%, 71%)
CMYKcmyk(35.2%, 69.2%, 0%, 28.6%)
CIE-LABlab(37.95, 50.99, -56.27)
CIE-LCHlch(37.95, 75.93, 312.18°)
OKLaboklab(48.75% 0.1014 -0.1601)
OKLCHoklch(48.75% 0.19 302.3)
XYZxyz(17.3269, 10.0573, 45.2753)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638B6 #78B638
analogous
#3839B6 #7638B6 #B538B6
triadic
#7638B6 #B67638 #38B676
tetradic
#7638B6 #B63839 #78B638 #38B6B5
square
#7638B6 #B63839 #78B638 #38B6B5
split-complementary
#7638B6 #B6B538 #39B638
monochromatic
#391B58 #582A87 #7638B6 #955ECD #B48DDC

Accessibility & contrast

On white

6.97
#7638B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7638B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638B6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638B6#FFFFFF#000000##FFFFFF
##7638B61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#695573
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7638b6;
/* rgb */ color: rgb(118, 56, 182);
/* oklch */ color: oklch(48.8% 0.190 302.3);
Tailwind
colors: {
  custom: {
    50: '#a373cd',
    500: '#7638b6',
    950: '#000000',
  },
}
SCSS
$custom: #7638b6;
$custom-light: #a373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7638b6",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 269.524,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48754,
    "c": 0.18955,
    "h": 302.3
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#7638B6
secondary
#A5C684
accent
#DC4B95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7638B6

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

Preview Lab → · Contrast checker → · Palette generator →

#7638B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva