#7638C4#7638C4

#7638C4 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.205 H 298.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7638C4
RGBrgb(118, 56, 196)
HSLhsl(267, 56%, 49%)
HSVhsv(267, 71%, 77%)
CMYKcmyk(39.8%, 71.4%, 0%, 23.1%)
CIE-LABlab(39.01, 54.45, -62.76)
CIE-LCHlch(39.01, 83.09, 310.95°)
OKLaboklab(49.85% 0.0991 -0.1792)
OKLCHoklch(49.85% 0.205 298.9)
XYZxyz(18.8467, 10.6652, 53.2795)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638C4 #86C438
analogous
#3840C4 #7638C4 #BC38C4
triadic
#7638C4 #C47638 #38C476
tetradic
#7638C4 #C43840 #86C438 #38C4BC
square
#7638C4 #C43840 #86C438 #38C4BC
split-complementary
#7638C4 #C4BC38 #40C438
monochromatic
#3D1D65 #592A94 #7638C4 #9666D3 #B796E1

Accessibility & contrast

On white

6.70
#7638C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7638C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638C4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638C4#FFFFFF#000000##FFFFFF
##7638C41.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#635B7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7638c4;
/* rgb */ color: rgb(118, 56, 196);
/* oklch */ color: oklch(49.8% 0.205 298.9);
Tailwind
colors: {
  custom: {
    50: '#a474d7',
    500: '#7638c4',
    950: '#000000',
  },
}
SCSS
$custom: #7638c4;
$custom-light: #a474d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7638c4",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 266.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.20476,
    "h": 298.9
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#7638C4
secondary
#B0CC8C
accent
#DF499C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7638C4

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

Preview Lab → · Contrast checker → · Palette generator →

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