#906AC7#906AC7

#906AC7 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.2% C 0.141 H 301.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#906AC7
RGBrgb(144, 106, 199)
HSLhsl(265, 45%, 60%)
HSVhsv(265, 47%, 78%)
CMYKcmyk(27.6%, 46.7%, 0%, 22%)
CIE-LABlab(52.24, 34.38, -43.09)
CIE-LCHlch(52.24, 55.12, 308.59°)
OKLaboklab(60.23% 0.073 -0.1208)
OKLCHoklch(60.23% 0.141 301.1)
XYZxyz(26.9621, 20.3608, 56.5313)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906AC7 #A1C76A
analogous
#6A73C7 #906AC7 #BF6AC7
triadic
#906AC7 #C7906A #6AC790
tetradic
#906AC7 #C76A73 #A1C76A #6AC7BF
square
#906AC7 #C76A73 #A1C76A #6AC7BF
split-complementary
#906AC7 #C7BF6A #73C76A
monochromatic
#543285 #7043B1 #906AC7 #B196D8 #D2C3E8

Accessibility & contrast

On white

4.14
#906AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#906AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906AC7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906AC7#FFFFFF#000000##000000
##906AC71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCA
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#867B8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #906ac7;
/* rgb */ color: rgb(144, 106, 199);
/* oklch */ color: oklch(60.2% 0.141 301.1);
Tailwind
colors: {
  custom: {
    50: '#b395d8',
    500: '#906ac7',
    950: '#000000',
  },
}
SCSS
$custom: #906ac7;
$custom-light: #b395d8;
$custom-dark: #000000;
JSON
{
  "hex": "#906ac7",
  "rgb": {
    "r": 144,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 264.516,
    "s": 45.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.14117,
    "h": 301.1
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#906AC7
secondary
#CAD8B4
accent
#D553A0
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #906AC7

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

Preview Lab → · Contrast checker → · Palette generator →

#906AC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva