#7638AE#7638AE

#7638AE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.181 H 304.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7638AE
RGBrgb(118, 56, 174)
HSLhsl(272, 51%, 45%)
HSVhsv(272, 68%, 68%)
CMYKcmyk(32.2%, 67.8%, 0%, 31.8%)
CIE-LABlab(37.36, 49.04, -52.47)
CIE-LCHlch(37.36, 71.82, 313.06°)
OKLaboklab(48.16% 0.1025 -0.149)
OKLCHoklch(48.16% 0.181 304.5)
XYZxyz(16.5237, 9.7360, 41.0449)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638AE #70AE38
analogous
#3B38AE #7638AE #AE38AB
triadic
#7638AE #AE7638 #38AE76
tetradic
#7638AE #AE3B38 #70AE38 #38ABAE
square
#7638AE #AE3B38 #70AE38 #38ABAE
split-complementary
#7638AE #ABAE38 #38AE3B
monochromatic
#371A51 #572980 #7638AE #9459CA #B288D9

Accessibility & contrast

On white

7.13
#7638AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7638AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7638AE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638AE#FFFFFF#000000##FFFFFF
##7638AE1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0D58AB
Tritanopia (blue-blind)
#6C526E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7638ae;
/* rgb */ color: rgb(118, 56, 174);
/* oklch */ color: oklch(48.2% 0.181 304.5);
Tailwind
colors: {
  custom: {
    50: '#a273c7',
    500: '#7638ae',
    950: '#000000',
  },
}
SCSS
$custom: #7638ae;
$custom-light: #a273c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7638ae",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 271.525,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.18081,
    "h": 304.5
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7638AE

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

Preview Lab → · Contrast checker → · Palette generator →

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