#6438DA#6438DA

#6438DA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.228 H 287.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6438DA
RGBrgb(100, 56, 218)
HSLhsl(256, 69%, 54%)
HSVhsv(256, 74%, 85%)
CMYKcmyk(54.1%, 74.3%, 0%, 14.5%)
CIE-LABlab(38.90, 57.37, -75.75)
CIE-LCHlch(38.90, 95.03, 307.14°)
OKLaboklab(49.89% 0.0683 -0.2179)
OKLCHoklch(49.89% 0.228 287.4)
XYZxyz(19.3208, 10.5986, 67.3437)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438DA #AEDA38
analogous
#385DDA #6438DA #B538DA
triadic
#6438DA #DA6438 #38DA64
tetradic
#6438DA #DA385D #AEDA38 #38DAB5
square
#6438DA #DA385D #AEDA38 #38DAB5
split-complementary
#6438DA #DAB538 #5DDA38
monochromatic
#341880 #4921B3 #6438DA #8C6CE4 #B49FED

Accessibility & contrast

On white

6.73
#6438DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6438DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6438DA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438DA#FFFFFF#000000##FFFFFF
##6438DA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDF
Deuteranopia (green-blind)
#0057D7
Tritanopia (blue-blind)
#326587
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6438da;
/* rgb */ color: rgb(100, 56, 218);
/* oklch */ color: oklch(49.9% 0.228 287.4);
Tailwind
colors: {
  custom: {
    50: '#9c73e7',
    500: '#6438da',
    950: '#000000',
  },
}
SCSS
$custom: #6438da;
$custom-light: #9c73e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6438da",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 256.296,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.22838,
    "h": 287.4
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#6438DA
secondary
#C7DA94
accent
#EB3CBC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6438DA

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

Preview Lab → · Contrast checker → · Palette generator →

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