#6438D4#6438D4

#6438D4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.222 H 288.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6438D4
RGBrgb(100, 56, 212)
HSLhsl(257, 64%, 53%)
HSVhsv(257, 74%, 83%)
CMYKcmyk(52.8%, 73.6%, 0%, 16.9%)
CIE-LABlab(38.36, 55.72, -73.19)
CIE-LCHlch(38.36, 91.98, 307.29°)
OKLaboklab(49.34% 0.0697 -0.2104)
OKLCHoklch(49.34% 0.222 288.3)
XYZxyz(18.5499, 10.2902, 63.2834)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438D4 #A8D438
analogous
#385AD4 #6438D4 #B238D4
triadic
#6438D4 #D46438 #38D464
tetradic
#6438D4 #D4385A #A8D438 #38D4B2
square
#6438D4 #D4385A #A8D438 #38D4B2
split-complementary
#6438D4 #D4B238 #5AD438
monochromatic
#341A78 #4A25AA #6438D4 #8B6ADF #B29DEA

Accessibility & contrast

On white

6.87
#6438D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6438D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6438D4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438D4#FFFFFF#000000##FFFFFF
##6438D41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#386383
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6438d4;
/* rgb */ color: rgb(100, 56, 212);
/* oklch */ color: oklch(49.3% 0.222 288.3);
Tailwind
colors: {
  custom: {
    50: '#9b73e2',
    500: '#6438d4',
    950: '#000000',
  },
}
SCSS
$custom: #6438d4;
$custom-light: #9b73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6438d4",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 256.923,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.22167,
    "h": 288.3
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6438D4

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

Preview Lab → · Contrast checker → · Palette generator →

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