#906FBA#906FBA

#906FBA is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.4% C 0.116 H 303.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#906FBA
RGBrgb(144, 111, 186)
HSLhsl(266, 35%, 58%)
HSVhsv(266, 40%, 73%)
CMYKcmyk(22.6%, 40.3%, 0%, 27.1%)
CIE-LABlab(52.78, 28.32, -34.78)
CIE-LCHlch(52.78, 44.85, 309.15°)
OKLaboklab(60.43% 0.0638 -0.0967)
OKLCHoklch(60.43% 0.116 303.4)
XYZxyz(26.0471, 20.8434, 49.0958)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906FBA #99BA6F
analogous
#6F73BA #906FBA #B56FBA
triadic
#906FBA #BA906F #6FBA90
tetradic
#906FBA #BA6F73 #99BA6F #6FBAB5
square
#906FBA #BA6F73 #99BA6F #6FBAB5
split-complementary
#906FBA #BAB56F #73BA6F
monochromatic
#543976 #714C9F #906FBA #B098CE #D0C2E2

Accessibility & contrast

On white

4.06
#906FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#906FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906FBA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906FBA#FFFFFF#000000##000000
##906FBA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#897B8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #906fba;
/* rgb */ color: rgb(144, 111, 186);
/* oklch */ color: oklch(60.4% 0.116 303.4);
Tailwind
colors: {
  custom: {
    50: '#b299cf',
    500: '#906fba',
    950: '#000000',
  },
}
SCSS
$custom: #906fba;
$custom-light: #b299cf;
$custom-dark: #000000;
JSON
{
  "hex": "#906fba",
  "rgb": {
    "r": 144,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 266.4,
    "s": 35.211,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.11586,
    "h": 303.4
  },
  "luminance": 0.20843
}

Semantic roles & 50–950 ramp

primary
#906FBA
secondary
#C4D1B3
accent
#CB5D9B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #906FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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