#7638CA#7638CA

#7638CA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.211 H 297.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7638CA
RGBrgb(118, 56, 202)
HSLhsl(265, 58%, 51%)
HSVhsv(265, 72%, 79%)
CMYKcmyk(41.6%, 72.3%, 0%, 20.8%)
CIE-LABlab(39.49, 55.95, -65.48)
CIE-LCHlch(39.49, 86.13, 310.52°)
OKLaboklab(50.33% 0.0979 -0.1872)
OKLCHoklch(50.33% 0.211 297.6)
XYZxyz(19.5433, 10.9438, 56.9484)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7638CA #8CCA38
analogous
#3843CA #7638CA #BF38CA
triadic
#7638CA #CA7638 #38CA76
tetradic
#7638CA #CA3843 #8CCA38 #38CABF
square
#7638CA #CA3843 #8CCA38 #38CABF
split-complementary
#7638CA #CABF38 #43CA38
monochromatic
#3E1D6B #5A299B #7638CA #9768D7 #B999E4

Accessibility & contrast

On white

6.59
#7638CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7638CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7638CA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7638CA#FFFFFF#000000##FFFFFF
##7638CA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#615D7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7638ca;
/* rgb */ color: rgb(118, 56, 202);
/* oklch */ color: oklch(50.3% 0.211 297.6);
Tailwind
colors: {
  custom: {
    50: '#a574db',
    500: '#7638ca',
    950: '#000000',
  },
}
SCSS
$custom: #7638ca;
$custom-light: #a574db;
$custom-dark: #000000;
JSON
{
  "hex": "#7638ca",
  "rgb": {
    "r": 118,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 265.479,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.21123,
    "h": 297.6
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#7638CA
secondary
#B4CF8E
accent
#E147A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7638CA

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

Preview Lab → · Contrast checker → · Palette generator →

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