#6438D5#6438D5

#6438D5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.223 H 288.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6438D5
RGBrgb(100, 56, 213)
HSLhsl(257, 65%, 53%)
HSVhsv(257, 74%, 84%)
CMYKcmyk(53.1%, 73.7%, 0%, 16.5%)
CIE-LABlab(38.45, 56.00, -73.62)
CIE-LCHlch(38.45, 92.49, 307.26°)
OKLaboklab(49.43% 0.0695 -0.2117)
OKLCHoklch(49.43% 0.223 288.2)
XYZxyz(18.6764, 10.3408, 63.9498)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438D5 #A9D538
analogous
#385BD5 #6438D5 #B238D5
triadic
#6438D5 #D56438 #38D564
tetradic
#6438D5 #D5385B #A9D538 #38D5B2
square
#6438D5 #D5385B #A9D538 #38D5B2
split-complementary
#6438D5 #D5B238 #5BD538
monochromatic
#341A79 #4A24AC #6438D5 #8B6BE0 #B39DEA

Accessibility & contrast

On white

6.84
#6438D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6438D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6438D5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438D5#FFFFFF#000000##FFFFFF
##6438D51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDA
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#376384
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6438d5;
/* rgb */ color: rgb(100, 56, 213);
/* oklch */ color: oklch(49.4% 0.223 288.2);
Tailwind
colors: {
  custom: {
    50: '#9b73e3',
    500: '#6438d5',
    950: '#000000',
  },
}
SCSS
$custom: #6438d5;
$custom-light: #9b73e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6438d5",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 256.815,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49433,
    "c": 0.22279,
    "h": 288.2
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#6438D5
secondary
#C3D692
accent
#E840B9
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6438D5

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

Preview Lab → · Contrast checker → · Palette generator →

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