#6438B7#6438B7

#6438B7 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.188 H 293.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6438B7
RGBrgb(100, 56, 183)
HSLhsl(261, 53%, 47%)
HSVhsv(261, 69%, 72%)
CMYKcmyk(45.4%, 69.4%, 0%, 28.2%)
CIE-LABlab(35.90, 47.78, -60.28)
CIE-LCHlch(35.90, 76.92, 308.40°)
OKLaboklab(46.84% 0.0758 -0.1726)
OKLCHoklch(46.84% 0.188 293.7)
XYZxyz(15.2146, 8.9561, 45.7176)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438B7 #8BB738
analogous
#384CB7 #6438B7 #A338B7
triadic
#6438B7 #B76438 #38B764
tetradic
#6438B7 #B7384C #8BB738 #38B7A3
square
#6438B7 #B7384C #8BB738 #38B7A3
split-complementary
#6438B7 #B7A338 #4CB738
monochromatic
#311B59 #4A2A88 #6438B7 #855ECE #A98DDC

Accessibility & contrast

On white

7.52
#6438B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6438B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438B7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438B7#FFFFFF#000000##FFFFFF
##6438B71.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#4C5873
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6438b7;
/* rgb */ color: rgb(100, 56, 183);
/* oklch */ color: oklch(46.8% 0.188 293.7);
Tailwind
colors: {
  custom: {
    50: '#9772ce',
    500: '#6438b7',
    950: '#000000',
  },
}
SCSS
$custom: #6438b7;
$custom-light: #9772ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6438b7",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 260.787,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.18846,
    "h": 293.7
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#6438B7
secondary
#B0C784
accent
#DD4BAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6438B7

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

Preview Lab → · Contrast checker → · Palette generator →

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