#6623D4#6623D4

#6623D4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.240 H 291.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6623D4
RGBrgb(102, 35, 212)
HSLhsl(263, 72%, 48%)
HSVhsv(263, 83%, 83%)
CMYKcmyk(51.9%, 83.5%, 0%, 16.9%)
CIE-LABlab(35.56, 64.70, -77.79)
CIE-LCHlch(35.56, 101.18, 309.75°)
OKLaboklab(47.44% 0.0866 -0.2236)
OKLCHoklch(47.44% 0.24 291.2)
XYZxyz(17.9608, 8.7796, 63.0228)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623D4 #91D423
analogous
#2338D4 #6623D4 #BE23D4
triadic
#6623D4 #D46623 #23D466
tetradic
#6623D4 #D42338 #91D423 #23D4BE
square
#6623D4 #D42338 #91D423 #23D4BE
split-complementary
#6623D4 #D4BE23 #38D423
monochromatic
#33126B #4D1A9F #6623D4 #8952E2 #AC86EB

Accessibility & contrast

On white

7.62
#6623D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6623D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623D4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623D4#FFFFFF#000000##FFFFFF
##6623D41.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0050D1
Tritanopia (blue-blind)
#3E5A7F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6623d4;
/* rgb */ color: rgb(102, 35, 212);
/* oklch */ color: oklch(47.4% 0.240 291.2);
Tailwind
colors: {
  custom: {
    50: '#9d69e3',
    500: '#6623d4',
    950: '#000000',
  },
}
SCSS
$custom: #6623d4;
$custom-light: #9d69e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6623d4",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 262.712,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47444,
    "c": 0.2398,
    "h": 291.2
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#6623D4
secondary
#B4D47E
accent
#EE39AA
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6623D4

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

Preview Lab → · Contrast checker → · Palette generator →

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