#6438BC#6438BC

#6438BC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.194 H 292.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6438BC
RGBrgb(100, 56, 188)
HSLhsl(260, 54%, 48%)
HSVhsv(260, 70%, 74%)
CMYKcmyk(46.8%, 70.2%, 0%, 26.3%)
CIE-LABlab(36.31, 49.14, -62.57)
CIE-LCHlch(36.31, 79.56, 308.15°)
OKLaboklab(47.26% 0.0749 -0.1793)
OKLCHoklch(47.26% 0.194 292.7)
XYZxyz(15.7443, 9.1680, 48.5073)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438BC #90BC38
analogous
#384EBC #6438BC #A638BC
triadic
#6438BC #BC6438 #38BC64
tetradic
#6438BC #BC384E #90BC38 #38BCA6
square
#6438BC #BC384E #90BC38 #38BCA6
split-complementary
#6438BC #BCA638 #4EBC38
monochromatic
#321C5E #4B2A8D #6438BC #8661D0 #AA90DE

Accessibility & contrast

On white

7.41
#6438BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6438BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438BC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438BC#FFFFFF#000000##FFFFFF
##6438BC1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#495976
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6438bc;
/* rgb */ color: rgb(100, 56, 188);
/* oklch */ color: oklch(47.3% 0.194 292.7);
Tailwind
colors: {
  custom: {
    50: '#9872d1',
    500: '#6438bc',
    950: '#000000',
  },
}
SCSS
$custom: #6438bc;
$custom-light: #9872d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6438bc",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 260,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.19428,
    "h": 292.7
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#6438BC
secondary
#B3C987
accent
#DD4AAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6438BC

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

Preview Lab → · Contrast checker → · Palette generator →

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