#6438CA#6438CA

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

Color values

HEX#6438CA
RGBrgb(100, 56, 202)
HSLhsl(258, 58%, 51%)
HSVhsv(258, 72%, 79%)
CMYKcmyk(50.5%, 72.3%, 0%, 20.8%)
CIE-LABlab(37.48, 52.98, -68.83)
CIE-LCHlch(37.48, 86.86, 307.59°)
OKLaboklab(48.46% 0.072 -0.1977)
OKLCHoklch(48.46% 0.21 290)
XYZxyz(17.3273, 9.8012, 56.8445)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438CA #9ECA38
analogous
#3855CA #6438CA #AD38CA
triadic
#6438CA #CA6438 #38CA64
tetradic
#6438CA #CA3855 #9ECA38 #38CAAD
square
#6438CA #CA3855 #9ECA38 #38CAAD
split-complementary
#6438CA #CAAD38 #55CA38
monochromatic
#341D6B #4C299B #6438CA #8A68D7 #AF99E4

Accessibility & contrast

On white

7.09
#6438CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6438CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438CA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438CA#FFFFFF#000000##FFFFFF
##6438CA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#405F7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6438ca;
/* rgb */ color: rgb(100, 56, 202);
/* oklch */ color: oklch(48.5% 0.210 290.0);
Tailwind
colors: {
  custom: {
    50: '#9a73db',
    500: '#6438ca',
    950: '#000000',
  },
}
SCSS
$custom: #6438ca;
$custom-light: #9a73db;
$custom-dark: #000000;
JSON
{
  "hex": "#6438ca",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 258.082,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.21037,
    "h": 290
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#6438CA
secondary
#BCCF8E
accent
#E147B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6438CA

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

Preview Lab → · Contrast checker → · Palette generator →

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