#6438D9#6438D9

#6438D9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.227 H 287.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6438D9
RGBrgb(100, 56, 217)
HSLhsl(256, 68%, 54%)
HSVhsv(256, 74%, 85%)
CMYKcmyk(53.9%, 74.2%, 0%, 14.9%)
CIE-LABlab(38.81, 57.10, -75.33)
CIE-LCHlch(38.81, 94.52, 307.16°)
OKLaboklab(49.79% 0.0685 -0.2167)
OKLCHoklch(49.79% 0.227 287.5)
XYZxyz(19.1904, 10.5464, 66.6567)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438D9 #ADD938
analogous
#385CD9 #6438D9 #B538D9
triadic
#6438D9 #D96438 #38D964
tetradic
#6438D9 #D9385C #ADD938 #38D9B5
square
#6438D9 #D9385C #ADD938 #38D9B5
split-complementary
#6438D9 #D9B538 #5CD938
monochromatic
#34187E #4922B2 #6438D9 #8C6BE3 #B49FED

Accessibility & contrast

On white

6.75
#6438D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6438D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6438D9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438D9#FFFFFF#000000##FFFFFF
##6438D91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#336586
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6438d9;
/* rgb */ color: rgb(100, 56, 217);
/* oklch */ color: oklch(49.8% 0.227 287.5);
Tailwind
colors: {
  custom: {
    50: '#9c73e6',
    500: '#6438d9',
    950: '#000000',
  },
}
SCSS
$custom: #6438d9;
$custom-light: #9c73e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6438d9",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 256.398,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.22727,
    "h": 287.5
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#6438D9
secondary
#C6D994
accent
#EB3DBB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6438D9

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

Preview Lab → · Contrast checker → · Palette generator →

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