#7638BF#7638BF

#7638BF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.5% C 0.199 H 300.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7638BF
RGBrgb(118, 56, 191)
HSLhsl(268, 55%, 48%)
HSVhsv(268, 71%, 75%)
CMYKcmyk(38.2%, 70.7%, 0%, 25.1%)
CIE-LABlab(38.62, 53.21, -60.46)
CIE-LCHlch(38.62, 80.54, 311.35°)
OKLaboklab(49.45% 0.1 -0.1725)
OKLCHoklch(49.45% 0.199 300.1)
XYZxyz(18.2870, 10.4413, 50.3320)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638BF #81BF38
analogous
#383DBF #7638BF #B938BF
triadic
#7638BF #BF7638 #38BF76
tetradic
#7638BF #BF383D #81BF38 #38BFB9
square
#7638BF #BF383D #81BF38 #38BFB9
split-complementary
#7638BF #BFB938 #3DBF38
monochromatic
#3C1C60 #592A90 #7638BF #9663D1 #B692DF

Accessibility & contrast

On white

6.80
#7638BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7638BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638BF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638BF#FFFFFF#000000##FFFFFF
##7638BF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#655978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7638bf;
/* rgb */ color: rgb(118, 56, 191);
/* oklch */ color: oklch(49.5% 0.199 300.1);
Tailwind
colors: {
  custom: {
    50: '#a374d3',
    500: '#7638bf',
    950: '#000000',
  },
}
SCSS
$custom: #7638bf;
$custom-light: #a374d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7638bf",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 267.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.19935,
    "h": 300.1
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#7638BF
secondary
#ACCA89
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7638BF

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

Preview Lab → · Contrast checker → · Palette generator →

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