#7638CD#7638CD

#7638CD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.214 H 297.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7638CD
RGBrgb(118, 56, 205)
HSLhsl(265, 60%, 51%)
HSVhsv(265, 73%, 80%)
CMYKcmyk(42.4%, 72.7%, 0%, 19.6%)
CIE-LABlab(39.73, 56.70, -66.82)
CIE-LCHlch(39.73, 87.64, 310.32°)
OKLaboklab(50.58% 0.0972 -0.1912)
OKLCHoklch(50.58% 0.214 297)
XYZxyz(19.9019, 11.0873, 58.8373)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638CD #8FCD38
analogous
#3844CD #7638CD #C038CD
triadic
#7638CD #CD7638 #38CD76
tetradic
#7638CD #CD3844 #8FCD38 #38CDC0
square
#7638CD #CD3844 #8FCD38 #38CDC0
split-complementary
#7638CD #CDC038 #44CD38
monochromatic
#3E1C6F #5A28A0 #7638CD #9869D9 #B99AE6

Accessibility & contrast

On white

6.53
#7638CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7638CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638CD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638CD#FFFFFF#000000##FFFFFF
##7638CD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#5F5E7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7638cd;
/* rgb */ color: rgb(118, 56, 205);
/* oklch */ color: oklch(50.6% 0.214 297.0);
Tailwind
colors: {
  custom: {
    50: '#a574dd',
    500: '#7638cd',
    950: '#000000',
  },
}
SCSS
$custom: #7638cd;
$custom-light: #a574dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7638cd",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 264.966,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.21446,
    "h": 297
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#7638CD
secondary
#B6D18F
accent
#E345A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7638CD

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

Preview Lab → · Contrast checker → · Palette generator →

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