#7638B9#7638B9

#7638B9 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.193 H 301.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7638B9
RGBrgb(118, 56, 185)
HSLhsl(269, 54%, 47%)
HSVhsv(269, 70%, 73%)
CMYKcmyk(36.2%, 69.7%, 0%, 27.5%)
CIE-LABlab(38.17, 51.72, -57.68)
CIE-LCHlch(38.17, 77.47, 311.88°)
OKLaboklab(48.98% 0.101 -0.1643)
OKLCHoklch(48.98% 0.193 301.6)
XYZxyz(17.6402, 10.1826, 46.9256)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638B9 #7BB938
analogous
#383BB9 #7638B9 #B638B9
triadic
#7638B9 #B97638 #38B976
tetradic
#7638B9 #B9383B #7BB938 #38B9B6
square
#7638B9 #B9383B #7BB938 #38B9B6
split-complementary
#7638B9 #B9B638 #3BB938
monochromatic
#3A1C5B #582A8A #7638B9 #955FCF #B48EDD

Accessibility & contrast

On white

6.92
#7638B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7638B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638B9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638B9#FFFFFF#000000##FFFFFF
##7638B91.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#685774
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7638b9;
/* rgb */ color: rgb(118, 56, 185);
/* oklch */ color: oklch(49.0% 0.193 301.6);
Tailwind
colors: {
  custom: {
    50: '#a373cf',
    500: '#7638b9',
    950: '#000000',
  },
}
SCSS
$custom: #7638b9;
$custom-light: #a373cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7638b9",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 268.837,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48984,
    "c": 0.19283,
    "h": 301.6
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#7638B9
secondary
#A8C885
accent
#DD4B97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7638B9

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

Preview Lab → · Contrast checker → · Palette generator →

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