#6438CD#6438CD

#6438CD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.214 H 289.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6438CD
RGBrgb(100, 56, 205)
HSLhsl(258, 60%, 51%)
HSVhsv(258, 73%, 80%)
CMYKcmyk(51.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(37.74, 53.80, -70.15)
CIE-LCHlch(37.74, 88.40, 307.49°)
OKLaboklab(48.72% 0.0714 -0.2015)
OKLCHoklch(48.72% 0.214 289.5)
XYZxyz(17.6860, 9.9447, 58.7334)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438CD #A1CD38
analogous
#3856CD #6438CD #AE38CD
triadic
#6438CD #CD6438 #38CD64
tetradic
#6438CD #CD3856 #A1CD38 #38CDAE
square
#6438CD #CD3856 #A1CD38 #38CDAE
split-complementary
#6438CD #CDAE38 #56CD38
monochromatic
#341C6F #4B28A0 #6438CD #8A69D9 #B09AE6

Accessibility & contrast

On white

7.03
#6438CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6438CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438CD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438CD#FFFFFF#000000##FFFFFF
##6438CD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#3E607F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6438cd;
/* rgb */ color: rgb(100, 56, 205);
/* oklch */ color: oklch(48.7% 0.214 289.5);
Tailwind
colors: {
  custom: {
    50: '#9a73dd',
    500: '#6438cd',
    950: '#000000',
  },
}
SCSS
$custom: #6438cd;
$custom-light: #9a73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6438cd",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 257.718,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.21378,
    "h": 289.5
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#6438CD
secondary
#BED18F
accent
#E345B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6438CD

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

Preview Lab → · Contrast checker → · Palette generator →

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