#7638B7#7638B7

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

Color values

HEX#7638B7
RGBrgb(118, 56, 183)
HSLhsl(269, 53%, 47%)
HSVhsv(269, 69%, 72%)
CMYKcmyk(35.5%, 69.4%, 0%, 28.2%)
CIE-LABlab(38.02, 51.23, -56.74)
CIE-LCHlch(38.02, 76.45, 312.08°)
OKLaboklab(48.83% 0.1013 -0.1615)
OKLCHoklch(48.83% 0.191 302.1)
XYZxyz(17.4306, 10.0987, 45.8215)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638B7 #79B738
analogous
#383AB7 #7638B7 #B638B7
triadic
#7638B7 #B77638 #38B776
tetradic
#7638B7 #B7383A #79B738 #38B7B6
square
#7638B7 #B7383A #79B738 #38B7B6
split-complementary
#7638B7 #B7B638 #3AB738
monochromatic
#3A1B59 #582A88 #7638B7 #955ECE #B48DDC

Accessibility & contrast

On white

6.95
#7638B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7638B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638B7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638B7#FFFFFF#000000##FFFFFF
##7638B71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#685673
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7638b7;
/* rgb */ color: rgb(118, 56, 183);
/* oklch */ color: oklch(48.8% 0.191 302.1);
Tailwind
colors: {
  custom: {
    50: '#a373cd',
    500: '#7638b7',
    950: '#000000',
  },
}
SCSS
$custom: #7638b7;
$custom-light: #a373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7638b7",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 269.291,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.19065,
    "h": 302.1
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#7638B7
secondary
#A6C784
accent
#DD4B96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7638B7

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

Preview Lab → · Contrast checker → · Palette generator →

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