#6438D3#6438D3

#6438D3 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.221 H 288.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6438D3
RGBrgb(100, 56, 211)
HSLhsl(257, 64%, 52%)
HSVhsv(257, 73%, 83%)
CMYKcmyk(52.6%, 73.5%, 0%, 17.3%)
CIE-LABlab(38.27, 55.45, -72.75)
CIE-LCHlch(38.27, 91.48, 307.31°)
OKLaboklab(49.25% 0.07 -0.2092)
OKLCHoklch(49.25% 0.221 288.5)
XYZxyz(18.4241, 10.2399, 62.6211)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438D3 #A7D338
analogous
#385AD3 #6438D3 #B138D3
triadic
#6438D3 #D36438 #38D364
tetradic
#6438D3 #D3385A #A7D338 #38D3B1
square
#6438D3 #D3385A #A7D338 #38D3B1
split-complementary
#6438D3 #D3B138 #5AD338
monochromatic
#341A76 #4B25A9 #6438D3 #8B6ADE #B29CE9

Accessibility & contrast

On white

6.89
#6438D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6438D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6438D3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438D3#FFFFFF#000000##FFFFFF
##6438D31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#396283
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6438d3;
/* rgb */ color: rgb(100, 56, 211);
/* oklch */ color: oklch(49.3% 0.221 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b73e2',
    500: '#6438d3',
    950: '#000000',
  },
}
SCSS
$custom: #6438d3;
$custom-light: #9b73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6438d3",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 257.032,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.22055,
    "h": 288.5
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#6438D3
secondary
#C2D592
accent
#E741B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #6438D3

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

Preview Lab → · Contrast checker → · Palette generator →

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