#6334C8#6334C8

#6334C8 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.212 H 290.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6334C8
RGBrgb(99, 52, 200)
HSLhsl(259, 59%, 49%)
HSVhsv(259, 74%, 78%)
CMYKcmyk(50.5%, 74%, 0%, 21.6%)
CIE-LABlab(36.51, 54.23, -69.26)
CIE-LCHlch(36.51, 87.96, 308.06°)
OKLaboklab(47.7% 0.0743 -0.1989)
OKLCHoklch(47.7% 0.212 290.5)
XYZxyz(16.7959, 9.2781, 55.5382)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334C8 #99C834
analogous
#344FC8 #6334C8 #AD34C8
triadic
#6334C8 #C86334 #34C863
tetradic
#6334C8 #C8344F #99C834 #34C8AD
square
#6334C8 #C8344F #99C834 #34C8AD
split-complementary
#6334C8 #C8AD34 #4FC834
monochromatic
#331B67 #4B2797 #6334C8 #8863D6 #AD93E3

Accessibility & contrast

On white

7.35
#6334C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6334C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334C8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334C8#FFFFFF#000000##FFFFFF
##6334C81.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#405C7C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6334c8;
/* rgb */ color: rgb(99, 52, 200);
/* oklch */ color: oklch(47.7% 0.212 290.5);
Tailwind
colors: {
  custom: {
    50: '#9970da',
    500: '#6334c8',
    950: '#000000',
  },
}
SCSS
$custom: #6334c8;
$custom-light: #9970da;
$custom-dark: #000000;
JSON
{
  "hex": "#6334c8",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 259.054,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47695,
    "c": 0.21235,
    "h": 290.5
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#6334C8
secondary
#B8CE8A
accent
#E246B0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6334C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6334C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva