#7638B8#7638B8

#7638B8 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.192 H 301.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7638B8
RGBrgb(118, 56, 184)
HSLhsl(269, 53%, 47%)
HSVhsv(269, 70%, 72%)
CMYKcmyk(35.9%, 69.6%, 0%, 27.8%)
CIE-LABlab(38.09, 51.48, -57.21)
CIE-LCHlch(38.09, 76.96, 311.98°)
OKLaboklab(48.91% 0.1011 -0.1629)
OKLCHoklch(48.91% 0.192 301.8)
XYZxyz(17.5350, 10.1405, 46.3716)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638B8 #7AB838
analogous
#383AB8 #7638B8 #B638B8
triadic
#7638B8 #B87638 #38B876
tetradic
#7638B8 #B8383A #7AB838 #38B8B6
square
#7638B8 #B8383A #7AB838 #38B8B6
split-complementary
#7638B8 #B8B638 #3AB838
monochromatic
#3A1B5A #582A89 #7638B8 #955FCE #B48EDD

Accessibility & contrast

On white

6.93
#7638B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7638B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638B8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638B8#FFFFFF#000000##FFFFFF
##7638B81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#685674
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7638b8;
/* rgb */ color: rgb(118, 56, 184);
/* oklch */ color: oklch(48.9% 0.192 301.8);
Tailwind
colors: {
  custom: {
    50: '#a373ce',
    500: '#7638b8',
    950: '#000000',
  },
}
SCSS
$custom: #7638b8;
$custom-light: #a373ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7638b8",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 269.063,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48907,
    "c": 0.19174,
    "h": 301.8
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#7638B8
secondary
#A7C785
accent
#DD4B96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7638B8

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

Preview Lab → · Contrast checker → · Palette generator →

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