#6623BC#6623BC

#6623BC is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.216 H 296.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6623BC
RGBrgb(102, 35, 188)
HSLhsl(266, 69%, 44%)
HSVhsv(266, 81%, 74%)
CMYKcmyk(45.7%, 81.4%, 0%, 26.3%)
CIE-LABlab(33.26, 58.81, -67.55)
CIE-LCHlch(33.26, 89.56, 311.04°)
OKLaboklab(45.17% 0.095 -0.1937)
OKLCHoklch(45.17% 0.216 296.1)
XYZxyz(15.1552, 7.6573, 48.2467)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623BC #79BC23
analogous
#232CBC #6623BC #B223BC
triadic
#6623BC #BC6623 #23BC66
tetradic
#6623BC #BC232C #79BC23 #23BCB2
square
#6623BC #BC232C #79BC23 #23BCB2
split-complementary
#6623BC #BCB223 #2CBC23
monochromatic
#2E1055 #4A1988 #6623BC #8441DC #A674E5

Accessibility & contrast

On white

8.30
#6623BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6623BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623BC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623BC#FFFFFF#000000##FFFFFF
##6623BC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#4E5071
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6623bc;
/* rgb */ color: rgb(102, 35, 188);
/* oklch */ color: oklch(45.2% 0.216 296.1);
Tailwind
colors: {
  custom: {
    50: '#9a67d1',
    500: '#6623bc',
    950: '#000000',
  },
}
SCSS
$custom: #6623bc;
$custom-light: #9a67d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6623bc",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 266.275,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.21571,
    "h": 296.1
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#6623BC
secondary
#A3CC6F
accent
#EB3C9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6623BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6623BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva