#6438BA#6438BA

#6438BA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.192 H 293.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6438BA
RGBrgb(100, 56, 186)
HSLhsl(260, 54%, 47%)
HSVhsv(260, 70%, 73%)
CMYKcmyk(46.2%, 69.9%, 0%, 27.1%)
CIE-LABlab(36.14, 48.60, -61.66)
CIE-LCHlch(36.14, 78.50, 308.24°)
OKLaboklab(47.09% 0.0752 -0.1766)
OKLCHoklch(47.09% 0.192 293.1)
XYZxyz(15.5302, 9.0824, 47.3797)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438BA #8EBA38
analogous
#384DBA #6438BA #A538BA
triadic
#6438BA #BA6438 #38BA64
tetradic
#6438BA #BA384D #8EBA38 #38BAA5
square
#6438BA #BA384D #8EBA38 #38BAA5
split-complementary
#6438BA #BAA538 #4DBA38
monochromatic
#311C5C #4B2A8B #6438BA #8660CF #AA8FDD

Accessibility & contrast

On white

7.46
#6438BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6438BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438BA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438BA#FFFFFF#000000##FFFFFF
##6438BA1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#4A5975
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6438ba;
/* rgb */ color: rgb(100, 56, 186);
/* oklch */ color: oklch(47.1% 0.192 293.1);
Tailwind
colors: {
  custom: {
    50: '#9872d0',
    500: '#6438ba',
    950: '#000000',
  },
}
SCSS
$custom: #6438ba;
$custom-light: #9872d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6438ba",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 260.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4709,
    "c": 0.19196,
    "h": 293.1
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#6438BA
secondary
#B2C886
accent
#DD4BAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6438BA

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

Preview Lab → · Contrast checker → · Palette generator →

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