#6438CB#6438CB

#6438CB is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.211 H 289.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6438CB
RGBrgb(100, 56, 203)
HSLhsl(258, 59%, 51%)
HSVhsv(258, 72%, 80%)
CMYKcmyk(50.7%, 72.4%, 0%, 20.4%)
CIE-LABlab(37.57, 53.25, -69.27)
CIE-LCHlch(37.57, 87.37, 307.55°)
OKLaboklab(48.55% 0.0718 -0.1989)
OKLCHoklch(48.55% 0.212 289.8)
XYZxyz(17.4461, 9.8487, 57.4701)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438CB #9FCB38
analogous
#3855CB #6438CB #AD38CB
triadic
#6438CB #CB6438 #38CB64
tetradic
#6438CB #CB3855 #9FCB38 #38CBAD
square
#6438CB #CB3855 #9FCB38 #38CBAD
split-complementary
#6438CB #CBAD38 #55CB38
monochromatic
#341C6C #4C299D #6438CB #8A69D8 #B099E4

Accessibility & contrast

On white

7.07
#6438CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6438CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438CB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438CB#FFFFFF#000000##FFFFFF
##6438CB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#3F5F7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6438cb;
/* rgb */ color: rgb(100, 56, 203);
/* oklch */ color: oklch(48.5% 0.211 289.8);
Tailwind
colors: {
  custom: {
    50: '#9a73dc',
    500: '#6438cb',
    950: '#000000',
  },
}
SCSS
$custom: #6438cb;
$custom-light: #9a73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6438cb",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 257.959,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.2115,
    "h": 289.8
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#6438CB
secondary
#BCD08F
accent
#E246B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6438CB

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

Preview Lab → · Contrast checker → · Palette generator →

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