#6634CA#6634CA

#6634CA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.215 H 291.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6634CA
RGBrgb(102, 52, 202)
HSLhsl(260, 59%, 50%)
HSVhsv(260, 74%, 79%)
CMYKcmyk(49.5%, 74.3%, 0%, 20.8%)
CIE-LABlab(37.01, 55.22, -69.59)
CIE-LCHlch(37.01, 88.84, 308.43°)
OKLaboklab(48.17% 0.0782 -0.1998)
OKLCHoklch(48.17% 0.215 291.4)
XYZxyz(17.3651, 9.5444, 56.7929)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6634CA #98CA34
analogous
#344DCA #6634CA #B134CA
triadic
#6634CA #CA6634 #34CA66
tetradic
#6634CA #CA344D #98CA34 #34CAB1
square
#6634CA #CA344D #98CA34 #34CAB1
split-complementary
#6634CA #CAB134 #4DCA34
monochromatic
#351B69 #4D2799 #6634CA #8A64D7 #AF95E4

Accessibility & contrast

On white

7.22
#6634CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6634CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6634CA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6634CA#FFFFFF#000000##FFFFFF
##6634CA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#445D7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6634ca;
/* rgb */ color: rgb(102, 52, 202);
/* oklch */ color: oklch(48.2% 0.215 291.4);
Tailwind
colors: {
  custom: {
    50: '#9b71db',
    500: '#6634ca',
    950: '#000000',
  },
}
SCSS
$custom: #6634ca;
$custom-light: #9b71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6634ca",
  "rgb": {
    "r": 102,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 260,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.21457,
    "h": 291.4
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#6634CA
secondary
#B8CF8B
accent
#E246AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6634CA

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

Preview Lab → · Contrast checker → · Palette generator →

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