#7638C1#7638C1

#7638C1 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.202 H 299.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7638C1
RGBrgb(118, 56, 193)
HSLhsl(267, 55%, 49%)
HSVhsv(267, 71%, 76%)
CMYKcmyk(38.9%, 71%, 0%, 24.3%)
CIE-LABlab(38.78, 53.70, -61.38)
CIE-LCHlch(38.78, 81.56, 311.18°)
OKLaboklab(49.61% 0.0996 -0.1752)
OKLCHoklch(49.61% 0.202 299.6)
XYZxyz(18.5086, 10.5300, 51.4991)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638C1 #83C138
analogous
#383FC1 #7638C1 #BB38C1
triadic
#7638C1 #C17638 #38C176
tetradic
#7638C1 #C1383F #83C138 #38C1BB
square
#7638C1 #C1383F #83C138 #38C1BB
split-complementary
#7638C1 #C1BB38 #3FC138
monochromatic
#3C1C62 #592A92 #7638C1 #9664D2 #B694E0

Accessibility & contrast

On white

6.76
#7638C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7638C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638C1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638C1#FFFFFF#000000##FFFFFF
##7638C11.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#655A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7638c1;
/* rgb */ color: rgb(118, 56, 193);
/* oklch */ color: oklch(49.6% 0.202 299.6);
Tailwind
colors: {
  custom: {
    50: '#a474d5',
    500: '#7638c1',
    950: '#000000',
  },
}
SCSS
$custom: #7638c1;
$custom-light: #a474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7638c1",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 267.153,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.20152,
    "h": 299.6
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#7638C1
secondary
#ADCB8A
accent
#DE499B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7638C1

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

Preview Lab → · Contrast checker → · Palette generator →

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