#7638BB#7638BB

#7638BB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.195 H 301.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7638BB
RGBrgb(118, 56, 187)
HSLhsl(268, 54%, 48%)
HSVhsv(268, 70%, 73%)
CMYKcmyk(36.9%, 70.1%, 0%, 26.7%)
CIE-LABlab(38.32, 52.22, -58.61)
CIE-LCHlch(38.32, 78.50, 311.70°)
OKLaboklab(49.14% 0.1007 -0.167)
OKLCHoklch(49.14% 0.195 301.1)
XYZxyz(17.8528, 10.2676, 48.0454)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638BB #7DBB38
analogous
#383CBB #7638BB #B738BB
triadic
#7638BB #BB7638 #38BB76
tetradic
#7638BB #BB383C #7DBB38 #38BBB7
square
#7638BB #BB383C #7DBB38 #38BBB7
split-complementary
#7638BB #BBB738 #3CBB38
monochromatic
#3B1C5D #582A8C #7638BB #9561D0 #B590DE

Accessibility & contrast

On white

6.88
#7638BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7638BB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638BB#FFFFFF#000000##FFFFFF
##7638BB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#675775
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7638bb;
/* rgb */ color: rgb(118, 56, 187);
/* oklch */ color: oklch(49.1% 0.195 301.1);
Tailwind
colors: {
  custom: {
    50: '#a374d0',
    500: '#7638bb',
    950: '#000000',
  },
}
SCSS
$custom: #7638bb;
$custom-light: #a374d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7638bb",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 268.397,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.195,
    "h": 301.1
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#7638BB
secondary
#A9C886
accent
#DD4B98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7638BB

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

Preview Lab → · Contrast checker → · Palette generator →

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