#906FCA#906FCA

#906FCA is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.3% C 0.137 H 299.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#906FCA
RGBrgb(144, 111, 202)
HSLhsl(262, 46%, 61%)
HSVhsv(262, 45%, 79%)
CMYKcmyk(28.7%, 45%, 0%, 20.8%)
CIE-LABlab(53.56, 32.25, -42.72)
CIE-LCHlch(53.56, 53.52, 307.05°)
OKLaboklab(61.27% 0.0665 -0.1198)
OKLCHoklch(61.27% 0.137 299)
XYZxyz(27.8442, 21.5622, 58.5606)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906FCA #A9CA6F
analogous
#6F7CCA #906FCA #BE6FCA
triadic
#906FCA #CA906F #6FCA90
tetradic
#906FCA #CA6F7C #A9CA6F #6FCABE
square
#906FCA #CA6F7C #A9CA6F #6FCABE
split-complementary
#906FCA #CABE6F #7CCA6F
monochromatic
#53338B #6E44B8 #906FCA #B29CDA #D5C8EB

Accessibility & contrast

On white

3.95
#906FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#906FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906FCA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906FCA#FFFFFF#000000##000000
##906FCA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#847F93
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #906fca;
/* rgb */ color: rgb(144, 111, 202);
/* oklch */ color: oklch(61.3% 0.137 299.0);
Tailwind
colors: {
  custom: {
    50: '#b399da',
    500: '#906fca',
    950: '#000000',
  },
}
SCSS
$custom: #906fca;
$custom-light: #b399da;
$custom-dark: #000000;
JSON
{
  "hex": "#906fca",
  "rgb": {
    "r": 144,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 261.758,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.137,
    "h": 299
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#906FCA
secondary
#CFDBB9
accent
#B92C86
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #906FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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