#7638BE#7638BE

#7638BE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.198 H 300.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7638BE
RGBrgb(118, 56, 190)
HSLhsl(268, 54%, 48%)
HSVhsv(268, 71%, 75%)
CMYKcmyk(37.9%, 70.5%, 0%, 25.5%)
CIE-LABlab(38.55, 52.96, -60.00)
CIE-LCHlch(38.55, 80.03, 311.43°)
OKLaboklab(49.37% 0.1001 -0.1711)
OKLCHoklch(49.37% 0.198 300.3)
XYZxyz(18.1774, 10.3974, 49.7545)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638BE #80BE38
analogous
#383DBE #7638BE #B938BE
triadic
#7638BE #BE7638 #38BE76
tetradic
#7638BE #BE383D #80BE38 #38BEB9
square
#7638BE #BE383D #80BE38 #38BEB9
split-complementary
#7638BE #BEB938 #3DBE38
monochromatic
#3B1C5F #592A8F #7638BE #9562D1 #B592DF

Accessibility & contrast

On white

6.82
#7638BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7638BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638BE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638BE#FFFFFF#000000##FFFFFF
##7638BE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#665877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7638be;
/* rgb */ color: rgb(118, 56, 190);
/* oklch */ color: oklch(49.4% 0.198 300.3);
Tailwind
colors: {
  custom: {
    50: '#a374d2',
    500: '#7638be',
    950: '#000000',
  },
}
SCSS
$custom: #7638be;
$custom-light: #a374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7638be",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 267.761,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.19827,
    "h": 300.3
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#7638BE
secondary
#ABCA88
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7638BE

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

Preview Lab → · Contrast checker → · Palette generator →

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