#7638AD#7638AD

#7638AD is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.180 H 304.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7638AD
RGBrgb(118, 56, 173)
HSLhsl(272, 51%, 45%)
HSVhsv(272, 68%, 68%)
CMYKcmyk(31.8%, 67.6%, 0%, 32.2%)
CIE-LABlab(37.29, 48.80, -51.99)
CIE-LCHlch(37.29, 71.30, 313.19°)
OKLaboklab(48.08% 0.1026 -0.1476)
OKLCHoklch(48.08% 0.18 304.8)
XYZxyz(16.4265, 9.6971, 40.5334)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638AD #6FAD38
analogous
#3B38AD #7638AD #AD38AA
triadic
#7638AD #AD7638 #38AD76
tetradic
#7638AD #AD3B38 #6FAD38 #38AAAD
square
#7638AD #AD3B38 #6FAD38 #38AAAD
split-complementary
#7638AD #AAAD38 #38AD3B
monochromatic
#371A51 #56297F #7638AD #9459C9 #B287D8

Accessibility & contrast

On white

7.14
#7638AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7638AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7638AD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638AD#FFFFFF#000000##FFFFFF
##7638AD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#1058AA
Tritanopia (blue-blind)
#6C526E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7638ad;
/* rgb */ color: rgb(118, 56, 173);
/* oklch */ color: oklch(48.1% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#a273c6',
    500: '#7638ad',
    950: '#000000',
  },
}
SCSS
$custom: #7638ad;
$custom-light: #a273c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7638ad",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 271.795,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.17972,
    "h": 304.8
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#7638AD
secondary
#9EC27F
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7638AD

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

Preview Lab → · Contrast checker → · Palette generator →

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