#7638BA#7638BA

#7638BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.194 H 301.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7638BA
RGBrgb(118, 56, 186)
HSLhsl(269, 54%, 47%)
HSVhsv(269, 70%, 73%)
CMYKcmyk(36.6%, 69.9%, 0%, 27.1%)
CIE-LABlab(38.24, 51.97, -58.14)
CIE-LCHlch(38.24, 77.98, 311.79°)
OKLaboklab(49.06% 0.1008 -0.1657)
OKLCHoklch(49.06% 0.194 301.3)
XYZxyz(17.7462, 10.2250, 47.4835)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638BA #7CBA38
analogous
#383BBA #7638BA #B738BA
triadic
#7638BA #BA7638 #38BA76
tetradic
#7638BA #BA383B #7CBA38 #38BAB7
square
#7638BA #BA383B #7CBA38 #38BAB7
split-complementary
#7638BA #BAB738 #3BBA38
monochromatic
#3A1C5C #582A8B #7638BA #9560CF #B48FDD

Accessibility & contrast

On white

6.90
#7638BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7638BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638BA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638BA#FFFFFF#000000##FFFFFF
##7638BA1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#675775
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7638ba;
/* rgb */ color: rgb(118, 56, 186);
/* oklch */ color: oklch(49.1% 0.194 301.3);
Tailwind
colors: {
  custom: {
    50: '#a373d0',
    500: '#7638ba',
    950: '#000000',
  },
}
SCSS
$custom: #7638ba;
$custom-light: #a373d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7638ba",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 268.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.19392,
    "h": 301.3
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#7638BA
secondary
#A8C886
accent
#DD4B97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7638BA

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

Preview Lab → · Contrast checker → · Palette generator →

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