#6438CE#6438CE

#6438CE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.215 H 289.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6438CE
RGBrgb(100, 56, 206)
HSLhsl(258, 60%, 51%)
HSVhsv(258, 73%, 81%)
CMYKcmyk(51.5%, 72.8%, 0%, 19.2%)
CIE-LABlab(37.83, 54.08, -70.58)
CIE-LCHlch(37.83, 88.92, 307.46°)
OKLaboklab(48.81% 0.0711 -0.2028)
OKLCHoklch(48.81% 0.215 289.3)
XYZxyz(17.8070, 9.9931, 59.3711)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438CE #A2CE38
analogous
#3857CE #6438CE #AF38CE
triadic
#6438CE #CE6438 #38CE64
tetradic
#6438CE #CE3857 #A2CE38 #38CEAF
square
#6438CE #CE3857 #A2CE38 #38CEAF
split-complementary
#6438CE #CEAF38 #57CE38
monochromatic
#341C70 #4B28A1 #6438CE #8A69DA #B19AE6

Accessibility & contrast

On white

7.00
#6438CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6438CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6438CE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438CE#FFFFFF#000000##FFFFFF
##6438CE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#3D6080
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6438ce;
/* rgb */ color: rgb(100, 56, 206);
/* oklch */ color: oklch(48.8% 0.215 289.3);
Tailwind
colors: {
  custom: {
    50: '#9a73de',
    500: '#6438ce',
    950: '#000000',
  },
}
SCSS
$custom: #6438ce;
$custom-light: #9a73de;
$custom-dark: #000000;
JSON
{
  "hex": "#6438ce",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 257.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.21491,
    "h": 289.3
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#6438CE
secondary
#BFD290
accent
#E444B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6438CE

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

Preview Lab → · Contrast checker → · Palette generator →

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