#7638BD#7638BD

#7638BD is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.197 H 300.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7638BD
RGBrgb(118, 56, 189)
HSLhsl(268, 54%, 48%)
HSVhsv(268, 70%, 74%)
CMYKcmyk(37.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(38.47, 52.71, -59.54)
CIE-LCHlch(38.47, 79.52, 311.52°)
OKLaboklab(49.29% 0.1003 -0.1698)
OKLCHoklch(49.29% 0.197 300.6)
XYZxyz(18.0684, 10.3539, 49.1808)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638BD #7FBD38
analogous
#383CBD #7638BD #B838BD
triadic
#7638BD #BD7638 #38BD76
tetradic
#7638BD #BD383C #7FBD38 #38BDB8
square
#7638BD #BD383C #7FBD38 #38BDB8
split-complementary
#7638BD #BDB838 #3CBD38
monochromatic
#3B1C5F #592A8E #7638BD #9562D0 #B591DE

Accessibility & contrast

On white

6.84
#7638BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7638BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638BD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638BD#FFFFFF#000000##FFFFFF
##7638BD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#665877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7638bd;
/* rgb */ color: rgb(118, 56, 189);
/* oklch */ color: oklch(49.3% 0.197 300.6);
Tailwind
colors: {
  custom: {
    50: '#a374d2',
    500: '#7638bd',
    950: '#000000',
  },
}
SCSS
$custom: #7638bd;
$custom-light: #a374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7638bd",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 267.97,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.19718,
    "h": 300.6
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#7638BD
secondary
#ABC987
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7638BD

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

Preview Lab → · Contrast checker → · Palette generator →

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