#6438B2#6438B2

#6438B2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.183 H 294.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6438B2
RGBrgb(100, 56, 178)
HSLhsl(262, 52%, 46%)
HSVhsv(262, 69%, 70%)
CMYKcmyk(43.8%, 68.5%, 0%, 30.2%)
CIE-LABlab(35.50, 46.42, -57.97)
CIE-LCHlch(35.50, 74.26, 308.69°)
OKLaboklab(46.43% 0.0766 -0.1658)
OKLCHoklch(46.43% 0.183 294.8)
XYZxyz(14.7034, 8.7517, 43.0254)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438B2 #86B238
analogous
#3849B2 #6438B2 #A138B2
triadic
#6438B2 #B26438 #38B264
tetradic
#6438B2 #B23849 #86B238 #38B2A1
square
#6438B2 #B23849 #86B238 #38B2A1
split-complementary
#6438B2 #B2A138 #49B238
monochromatic
#301B55 #4A2983 #6438B2 #845CCC #A78ADA

Accessibility & contrast

On white

7.64
#6438B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6438B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438B2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438B2#FFFFFF#000000##FFFFFF
##6438B21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#4F5670
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6438b2;
/* rgb */ color: rgb(100, 56, 178);
/* oklch */ color: oklch(46.4% 0.183 294.8);
Tailwind
colors: {
  custom: {
    50: '#9772ca',
    500: '#6438b2',
    950: '#000000',
  },
}
SCSS
$custom: #6438b2;
$custom-light: #9772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6438b2",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 261.639,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.18259,
    "h": 294.8
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#6438B2
secondary
#ACC581
accent
#DC4CA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6438B2

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

Preview Lab → · Contrast checker → · Palette generator →

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