#7638D4#7638D4

#7638D4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.222 H 295.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7638D4
RGBrgb(118, 56, 212)
HSLhsl(264, 64%, 53%)
HSVhsv(264, 74%, 83%)
CMYKcmyk(44.3%, 73.6%, 0%, 16.9%)
CIE-LABlab(40.30, 58.47, -69.93)
CIE-LCHlch(40.30, 91.15, 309.90°)
OKLaboklab(51.16% 0.0956 -0.2003)
OKLCHoklch(51.16% 0.222 295.5)
XYZxyz(20.7659, 11.4329, 63.3872)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638D4 #96D438
analogous
#3848D4 #7638D4 #C438D4
triadic
#7638D4 #D47638 #38D476
tetradic
#7638D4 #D43848 #96D438 #38D4C4
square
#7638D4 #D43848 #96D438 #38D4C4
split-complementary
#7638D4 #D4C438 #48D438
monochromatic
#3F1A78 #5A25AA #7638D4 #996ADF #BB9DEA

Accessibility & contrast

On white

6.39
#7638D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7638D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638D4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638D4#FFFFFF#000000##FFFFFF
##7638D41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#5C6183
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7638d4;
/* rgb */ color: rgb(118, 56, 212);
/* oklch */ color: oklch(51.2% 0.222 295.5);
Tailwind
colors: {
  custom: {
    50: '#a675e2',
    500: '#7638d4',
    950: '#000000',
  },
}
SCSS
$custom: #7638d4;
$custom-light: #a675e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7638d4",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 263.846,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.22194,
    "h": 295.5
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#7638D4
secondary
#BBD692
accent
#E740A5
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7638D4

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

Preview Lab → · Contrast checker → · Palette generator →

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