#6438BD#6438BD

#6438BD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.195 H 292.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6438BD
RGBrgb(100, 56, 189)
HSLhsl(260, 54%, 48%)
HSVhsv(260, 70%, 74%)
CMYKcmyk(47.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(36.39, 49.42, -63.02)
CIE-LCHlch(36.39, 80.08, 308.10°)
OKLaboklab(47.34% 0.0747 -0.1806)
OKLCHoklch(47.34% 0.195 292.5)
XYZxyz(15.8525, 9.2113, 49.0769)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438BD #91BD38
analogous
#384EBD #6438BD #A738BD
triadic
#6438BD #BD6438 #38BD64
tetradic
#6438BD #BD384E #91BD38 #38BDA7
square
#6438BD #BD384E #91BD38 #38BDA7
split-complementary
#6438BD #BDA738 #4EBD38
monochromatic
#321C5F #4B2A8E #6438BD #8662D0 #AB91DE

Accessibility & contrast

On white

7.39
#6438BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6438BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438BD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438BD#FFFFFF#000000##FFFFFF
##6438BD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#495A76
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6438bd;
/* rgb */ color: rgb(100, 56, 189);
/* oklch */ color: oklch(47.3% 0.195 292.5);
Tailwind
colors: {
  custom: {
    50: '#9872d2',
    500: '#6438bd',
    950: '#000000',
  },
}
SCSS
$custom: #6438bd;
$custom-light: #9872d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6438bd",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 259.85,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.19544,
    "h": 292.5
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#6438BD
secondary
#B4C987
accent
#DE4AAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6438BD

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

Preview Lab → · Contrast checker → · Palette generator →

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