#6652CA#6652CA

#6652CA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.178 H 286.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6652CA
RGBrgb(102, 82, 202)
HSLhsl(250, 53%, 56%)
HSVhsv(250, 59%, 79%)
CMYKcmyk(49.5%, 59.4%, 0%, 20.8%)
CIE-LABlab(42.95, 39.06, -59.92)
CIE-LCHlch(42.95, 71.53, 303.10°)
OKLaboklab(52.45% 0.0496 -0.1714)
OKLCHoklch(52.45% 0.178 286.1)
XYZxyz(19.1543, 13.1227, 57.3893)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652CA #B6CA52
analogous
#527ACA #6652CA #A252CA
triadic
#6652CA #CA6652 #52CA66
tetradic
#6652CA #CA527A #B6CA52 #52CAA2
square
#6652CA #CA527A #B6CA52 #52CAA2
split-complementary
#6652CA #CAA252 #7ACA52
monochromatic
#34267C #4834AB #6652CA #8F81D8 #B9B0E7

Accessibility & contrast

On white

5.79
#6652CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6652CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652CA#FFFFFF#000000##FFFFFF
##6652CA1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#426E86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6652ca;
/* rgb */ color: rgb(102, 82, 202);
/* oklch */ color: oklch(52.4% 0.178 286.1);
Tailwind
colors: {
  custom: {
    50: '#9983db',
    500: '#6652ca',
    950: '#000000',
  },
}
SCSS
$custom: #6652ca;
$custom-light: #9983db;
$custom-dark: #000000;
JSON
{
  "hex": "#6652ca",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 250,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52446,
    "c": 0.17847,
    "h": 286.1
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#6652CA
secondary
#CDD5A3
accent
#DD4BC4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6652CA

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

Preview Lab → · Contrast checker → · Palette generator →

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