#6438C5#6438C5

#6438C5 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.205 H 290.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6438C5
RGBrgb(100, 56, 197)
HSLhsl(259, 56%, 50%)
HSVhsv(259, 72%, 77%)
CMYKcmyk(49.2%, 71.6%, 0%, 22.7%)
CIE-LABlab(37.06, 51.61, -66.62)
CIE-LCHlch(37.06, 84.27, 307.76°)
OKLaboklab(48.02% 0.0731 -0.1912)
OKLCHoklch(48.02% 0.205 290.9)
XYZxyz(16.7449, 9.5682, 53.7771)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438C5 #99C538
analogous
#3853C5 #6438C5 #AA38C5
triadic
#6438C5 #C56438 #38C564
tetradic
#6438C5 #C53853 #99C538 #38C5AA
square
#6438C5 #C53853 #99C538 #38C5AA
split-complementary
#6438C5 #C5AA38 #53C538
monochromatic
#341D66 #4C2A95 #6438C5 #8967D4 #AE96E1

Accessibility & contrast

On white

7.21
#6438C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6438C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438C5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438C5#FFFFFF#000000##FFFFFF
##6438C51.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#445D7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6438c5;
/* rgb */ color: rgb(100, 56, 197);
/* oklch */ color: oklch(48.0% 0.205 290.9);
Tailwind
colors: {
  custom: {
    50: '#9972d8',
    500: '#6438c5',
    950: '#000000',
  },
}
SCSS
$custom: #6438c5;
$custom-light: #9972d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6438c5",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 258.723,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.20466,
    "h": 290.9
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#6438C5
secondary
#B9CD8C
accent
#DF49B0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6438C5

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

Preview Lab → · Contrast checker → · Palette generator →

#6438C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva