#6438B8#6438B8

#6438B8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.190 H 293.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6438B8
RGBrgb(100, 56, 184)
HSLhsl(261, 53%, 47%)
HSVhsv(261, 70%, 72%)
CMYKcmyk(45.7%, 69.6%, 0%, 27.8%)
CIE-LABlab(35.98, 48.05, -60.74)
CIE-LCHlch(35.98, 77.45, 308.35°)
OKLaboklab(46.92% 0.0756 -0.1739)
OKLCHoklch(46.92% 0.19 293.5)
XYZxyz(15.3191, 8.9979, 46.2677)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438B8 #8CB838
analogous
#384CB8 #6438B8 #A438B8
triadic
#6438B8 #B86438 #38B864
tetradic
#6438B8 #B8384C #8CB838 #38B8A4
square
#6438B8 #B8384C #8CB838 #38B8A4
split-complementary
#6438B8 #B8A438 #4CB838
monochromatic
#311B5A #4B2A89 #6438B8 #855FCE #A98EDD

Accessibility & contrast

On white

7.50
#6438B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6438B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438B8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438B8#FFFFFF#000000##FFFFFF
##6438B81.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#4B5874
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6438b8;
/* rgb */ color: rgb(100, 56, 184);
/* oklch */ color: oklch(46.9% 0.190 293.5);
Tailwind
colors: {
  custom: {
    50: '#9772ce',
    500: '#6438b8',
    950: '#000000',
  },
}
SCSS
$custom: #6438b8;
$custom-light: #9772ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6438b8",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 260.625,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46924,
    "c": 0.18963,
    "h": 293.5
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#6438B8
secondary
#B0C785
accent
#DD4BAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6438B8

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

Preview Lab → · Contrast checker → · Palette generator →

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